Index: trunk/extensions/WebFonts/WebFonts.hooks.php |
— | — | @@ -21,11 +21,6 @@ |
22 | 22 | public static function addVariables( &$vars ) { |
23 | 23 | global $wgWebFontsEnabledByDefault, $wgUser; |
24 | 24 | |
25 | | - if ( $wgUser->getOption( 'webfontsDisable' ) ) { |
26 | | - // User disabled WebFonts |
27 | | - return true; |
28 | | - } |
29 | | - |
30 | 25 | if ( $wgUser->isAnon() ) { |
31 | 26 | // If user enabled webfonts from preference page, |
32 | 27 | // wgWebFontsEnabledByDefault is overridden by that. |