From 1acb4e03719d10a010011e66bd6b2488778cefad Mon Sep 17 00:00:00 2001 From: stekkel Date: Wed, 5 Apr 2006 19:37:40 +0000 Subject: [PATCH] Remove unneeded code from 2000. It doesn't work anymore with init.php (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 | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/include/load_prefs.php b/include/load_prefs.php index d25426ea..d6e30f31 100644 --- a/include/load_prefs.php +++ b/include/load_prefs.php @@ -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') { -- 2.25.1