Remove unneeded code from 2000. It doesn't work anymore with init.php
[squirrelmail.git] / include / load_prefs.php
index d25426ea7897e350107758be15990a839005b965..d6e30f3163b3dc9692f7ca76747b3a49eb3785cd 100644 (file)
@@ -68,8 +68,8 @@ for ($i = 0; $i < count($theme); ++$i){
         break;
     }
 }
-$chosen_theme = (!$found_theme ? '' : $chosen_theme);
 
+$chosen_theme = (!$found_theme ? '' : $chosen_theme);
 
 /**
 * This theme as a failsafe if no themes were found. It makes
@@ -101,11 +101,6 @@ if (isset($chosen_theme) && $found_theme && (file_exists($chosen_theme))) {
     }
 }
 
-
-if (!defined('download_php')) {
-    sqsession_register($theme_css, 'theme_css');
-}
-
 // user's icon theme, if using icons
 $icon_theme = getPref($data_dir, $username, 'icon_theme', 'images/themes/xp/' );
 if ($icon_theme == 'template') {