X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiModuleManager.php;h=b5e47ac9c984b1406d16b9c0ef4ee55b509ca311;hb=ea8961d7ee57c68f57f5df27876bb04a96f5ff84;hp=42dfb719bbf84f4a3c1b0cf91d7e3847a68347e5;hpb=4a975b8099ee11b15421d03be02206935a8422f1;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiModuleManager.php b/includes/api/ApiModuleManager.php index 42dfb719bb..b5e47ac9c9 100644 --- a/includes/api/ApiModuleManager.php +++ b/includes/api/ApiModuleManager.php @@ -97,7 +97,6 @@ class ApiModuleManager extends ContextSource { * @param string $group Which group modules belong to (action,format,...) */ public function addModules( array $modules, $group ) { - foreach ( $modules as $name => $moduleSpec ) { if ( is_array( $moduleSpec ) ) { $class = $moduleSpec['class'];