clear submanage, etc from session on logout

This commit is contained in:
friendica 2012-05-22 18:05:58 -07:00
parent e70573f34c
commit b43b680802

View file

@ -11,6 +11,13 @@ function nuke_session() {
unset($_SESSION['cid']); unset($_SESSION['cid']);
unset($_SESSION['theme']); unset($_SESSION['theme']);
unset($_SESSION['page_flags']); unset($_SESSION['page_flags']);
unset($_SESSION['submanage']);
unset($_SESSION['my_url']);
unset($_SESSION['my_address']);
unset($_SESSION['addr']);
unset($_SESSION['return_url']);
unset($_SESSION['theme']);
unset($_SESSION['page_flags']);
} }