Index: trunk/phase3/includes/resourceloader/ResourceLoaderUserModule.php |
— | — | @@ -28,9 +28,7 @@ |
29 | 29 | /* Protected Methods */ |
30 | 30 | |
31 | 31 | protected function getPages( ResourceLoaderContext $context ) { |
32 | | - global $wgAllowUserCss; |
33 | | - |
34 | | - if ( $context->getUser() && $wgAllowUserCss ) { |
| 32 | + if ( $context->getUser() ) { |
35 | 33 | $username = $context->getUser(); |
36 | 34 | return array( |
37 | 35 | "$username/common.js" => array( 'ns' => NS_USER, 'type' => 'script' ), |