Przeglądaj źródła

Remove unneeded code from 2000. It doesn't work anymore with init.php
(rg=on)

stekkel 19 lat temu
rodzic
commit
a30f292c94
1 zmienionych plików z 1 dodań i 6 usunięć
  1. 1 6
      include/load_prefs.php

+ 1 - 6
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') {