objectify all the session management stuff

This commit is contained in:
redmatrix
2016-04-08 04:44:10 -07:00
parent 2db59f3b76
commit 9b66b5eee3
7 changed files with 181 additions and 12 deletions

View File

@@ -389,7 +389,7 @@ function channel_remove($channel_id, $local = true, $unset_session=false) {
proc_run('php','include/directory.php',$channel_id);
if($channel_id == local_channel() && $unset_session) {
nuke_session();
\Zotlabs\Web\Session::nuke();
goaway(z_root());
}