Remove unneeded code from 2000. It doesn't work anymore with init.php
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 5 Apr 2006 19:37:40 +0000 (19:37 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 5 Apr 2006 19:37:40 +0000 (19:37 +0000)
(rg=on)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11026 7612ce4b-ef26-0410-bec9-ea0150e637f0

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') {