diff options
Diffstat (limited to 'lib/init.php')
-rw-r--r-- | lib/init.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/init.php b/lib/init.php index 3a72f40a..c443b1d7 100644 --- a/lib/init.php +++ b/lib/init.php @@ -193,7 +193,6 @@ if (NO_SESSION != '1' AND Config::get('use_auth')) { if (!$GLOBALS['user']->id AND !Config::get('demo_mode')) { logout(); exit; } /* Load preferences and theme */ - set_theme(); $GLOBALS['user']->update_last_seen(); } elseif (!Config::get('use_auth')) { @@ -210,7 +209,6 @@ elseif (!Config::get('use_auth')) { $GLOBALS['user']->username = '-1'; $GLOBALS['user']->access = $auth['access']; $_SESSION['userdata']['username'] = $auth['username']; - set_theme(); } // If Auth, but no session is set else { |