aboutsummaryrefslogtreecommitdiffstats
path: root/include/api.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/api.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/api.php')
-rw-r--r--include/api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/api.php b/include/api.php
index 41837ad88..fd644947c 100644
--- a/include/api.php
+++ b/include/api.php
@@ -486,7 +486,7 @@ require_once('include/api_auth.php');
function api_account_logout(&$a, $type){
require_once('include/auth.php');
- nuke_session();
+ \Zotlabs\Web\Session::nuke();
return api_apply_template("user", $type, array('$user' => null));
}