aboutsummaryrefslogtreecommitdiffstats
path: root/include/auth.php
diff options
context:
space:
mode:
authorChristian Vogeley <christian.vogeley@hotmail.de>2013-08-31 18:20:34 +0200
committerChristian Vogeley <christian.vogeley@hotmail.de>2013-08-31 18:20:34 +0200
commit02fe2d488155b0907c950eb3118c523940c6827f (patch)
treec1a66683c287609ecceed3c28fd887e86527c125 /include/auth.php
parent00622779f3fd68bf9ae4860d776c65c82ae1c0c0 (diff)
downloadvolse-hubzilla-02fe2d488155b0907c950eb3118c523940c6827f.tar.gz
volse-hubzilla-02fe2d488155b0907c950eb3118c523940c6827f.tar.bz2
volse-hubzilla-02fe2d488155b0907c950eb3118c523940c6827f.zip
More mobile theme fixes
If user is logged in personal settings are used else use admin settings. Only show toggle link if there is something to switch between.
Diffstat (limited to 'include/auth.php')
-rw-r--r--include/auth.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/auth.php b/include/auth.php
index 143a16de8..d04ebbe43 100644
--- a/include/auth.php
+++ b/include/auth.php
@@ -15,6 +15,7 @@ function nuke_session() {
unset($_SESSION['cid']);
unset($_SESSION['theme']);
unset($_SESSION['mobile_theme']);
+ unset($_SESSION['show_mobile']);
unset($_SESSION['page_flags']);
unset($_SESSION['submanage']);
unset($_SESSION['my_url']);