aboutsummaryrefslogtreecommitdiffstats
path: root/include/api.php
diff options
context:
space:
mode:
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));
}