Really use the global variable. Fixes bug in c4507 (4989dd)
[lhc/web/wiklou.git] / tests / phpunit / includes / cache / GenderCacheTest.php
index d62ee20..8e2339e 100644 (file)
@@ -7,6 +7,7 @@
 class GenderCacheTest extends MediaWikiLangTestCase {\r
 \r
        function setUp() {\r
+               global $wgDefaultUserOptions;\r
                parent::setUp();\r
                //ensure the correct default gender\r
                $wgDefaultUserOptions['gender'] = 'unknown';\r