X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Fregistration%2FExtensionRegistry.php;h=dc53ca455afa41458816e49f7b7c11a81db49fac;hb=bb333d91a4c29e025303d44c705414840b68249c;hp=33395f74adfcef3472060c1cf24de4f849477c16;hpb=179e55baffa103017d68fdc6037d92153218e46d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/registration/ExtensionRegistry.php b/includes/registration/ExtensionRegistry.php index 33395f74ad..dc53ca455a 100644 --- a/includes/registration/ExtensionRegistry.php +++ b/includes/registration/ExtensionRegistry.php @@ -274,13 +274,12 @@ class ExtensionRegistry { foreach ( $info['defines'] as $name => $val ) { define( $name, $val ); } - foreach ( $info['callbacks'] as $cb ) { - call_user_func( $cb ); - } - foreach ( $info['autoloaderPaths'] as $path ) { require_once $path; } + foreach ( $info['callbacks'] as $cb ) { + call_user_func( $cb ); + } $this->loaded += $info['credits']; if ( $info['attributes'] ) {