X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fregistration%2FExtensionRegistry.php;h=eac04a9b89fbfa759a04b6cd224a79393a34456f;hb=12601ff7d2796752404bfb331fccc41083d31f9f;hp=0423f71af591858f6f77a607b64683e3c45fbe07;hpb=cfb04229b2230f40f5ced620a022108779e2b8b2;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/registration/ExtensionRegistry.php b/includes/registration/ExtensionRegistry.php index 0423f71af5..eac04a9b89 100644 --- a/includes/registration/ExtensionRegistry.php +++ b/includes/registration/ExtensionRegistry.php @@ -137,7 +137,7 @@ class ExtensionRegistry { $cache = new EmptyBagOStuff(); } // See if this queue is in APC - $key = wfMemcKey( + $key = $cache->makeKey( 'registration', md5( json_encode( $this->queued + $versions ) ) ); @@ -400,7 +400,7 @@ class ExtensionRegistry { protected function processAutoLoader( $dir, array $info ) { if ( isset( $info['AutoloadClasses'] ) ) { // Make paths absolute, relative to the JSON file - return array_map( function( $file ) use ( $dir ) { + return array_map( function ( $file ) use ( $dir ) { return "$dir/$file"; }, $info['AutoloadClasses'] ); } else {