Remove redundant wcfFontFamily generation for ACP style
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 3 Feb 2021 14:46:01 +0000 (15:46 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 3 Feb 2021 15:05:21 +0000 (16:05 +0100)
wcfsetup/install/files/lib/system/style/StyleCompiler.class.php

index 080074ebcb25399db190603d1d3abe0d178ebb76..fc400e45416d8d5b0e9e7bf52a027e618e5308f9 100644 (file)
@@ -317,11 +317,6 @@ final class StyleCompiler extends SingletonFactory
             $variables[$row['variableName']] = $value;
         }
 
-        $variables['wcfFontFamily'] = $variables['wcfFontFamilyFallback'];
-        if (!empty($variables['wcfFontFamilyGoogle'])) {
-            $variables['wcfFontFamily'] = '"' . $variables['wcfFontFamilyGoogle'] . '", ' . $variables['wcfFontFamily'];
-        }
-
         $variables['style_image_path'] = "'../images/'";
 
         $scss = "/*!\n\nstylesheet for the admin panel, generated on " . \gmdate('r') . " -- DO NOT EDIT\n\n*/\n";