aboutsummaryrefslogtreecommitdiffstats
path: root/include/Contact.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-04-08 04:44:10 -0700
committerredmatrix <git@macgirvin.com>2016-04-08 04:44:10 -0700
commit9b66b5eee37c1a3958d9ddccb9c1a06ac7ef49ce (patch)
tree55a9d412ca70f40e1634413bbe2bf53ce9a4fc42 /include/Contact.php
parent2db59f3b7697d141e6dda0aa85f9161bfee32a2a (diff)
downloadvolse-hubzilla-9b66b5eee37c1a3958d9ddccb9c1a06ac7ef49ce.tar.gz
volse-hubzilla-9b66b5eee37c1a3958d9ddccb9c1a06ac7ef49ce.tar.bz2
volse-hubzilla-9b66b5eee37c1a3958d9ddccb9c1a06ac7ef49ce.zip
objectify all the session management stuff
Diffstat (limited to 'include/Contact.php')
-rw-r--r--include/Contact.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Contact.php b/include/Contact.php
index 507c922d0..e011c60c8 100644
--- a/include/Contact.php
+++ b/include/Contact.php
@@ -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());
}