Index: trunk/extensions/UsabilityInitiative/Vector/Vector.hooks.php |
— | — | @@ -8,7 +8,6 @@ |
9 | 9 | |
10 | 10 | class VectorHooks { |
11 | 11 | |
12 | | - static $scripts = null; |
13 | 12 | static $modules = array( |
14 | 13 | 'collapsibletabs' => array( |
15 | 14 | 'scripts' => array( |
— | — | @@ -107,12 +106,6 @@ |
108 | 107 | } |
109 | 108 | } |
110 | 109 | } |
111 | | - // Prepend global script |
112 | | - $mode = $wgUsabilityInitiativeResourceMode; |
113 | | - if ( !isset( self::$scripts[$mode] ) ) { |
114 | | - $mode = 'raw'; |
115 | | - } |
116 | | - array_unshift( $scripts, self::$scripts[$mode] ); |
117 | 110 | // Add all scripts |
118 | 111 | foreach ( $scripts as $script ) { |
119 | 112 | UsabilityInitiativeHooks::addScript( |