Index: trunk/extensions/UsabilityInitiative/Vector/Vector.hooks.php |
— | — | @@ -91,8 +91,7 @@ |
92 | 92 | * Adds the modules to the edit form |
93 | 93 | */ |
94 | 94 | public static function addModules() { |
95 | | - global $wgUser, $wgJsMimeType, $wgOut; |
96 | | - global $wgVectorModules, $wgUsabilityInitiativeResourceMode; |
| 95 | + global $wgUser, $wgVectorModules, $wgUsabilityInitiativeResourceMode; |
97 | 96 | |
98 | 97 | // Don't load Vector modules for non-Vector skins |
99 | 98 | // They won't work but will throw unused JS in the client's face |
Index: trunk/extensions/UsabilityInitiative/WikiEditor/WikiEditor.hooks.php |
— | — | @@ -387,8 +387,7 @@ |
388 | 388 | * Adds the modules to the edit form |
389 | 389 | */ |
390 | 390 | public static function addModules( &$toolbar ) { |
391 | | - global $wgOut, $wgUser, $wgJsMimeType; |
392 | | - global $wgWikiEditorModules, $wgUsabilityInitiativeResourceMode; |
| 391 | + global $wgUser, $wgWikiEditorModules, $wgUsabilityInitiativeResourceMode; |
393 | 392 | |
394 | 393 | // Modules |
395 | 394 | $preferences = array(); |