summaryrefslogtreecommitdiff
path: root/classes/handler/public.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/handler/public.php')
-rwxr-xr-xclasses/handler/public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php
index 481145606..79f3a9e6c 100755
--- a/classes/handler/public.php
+++ b/classes/handler/public.php
@@ -286,7 +286,7 @@ class Handler_Public extends Handler {
function logout() {
if (validate_csrf($_POST["csrf_token"])) {
- Pref_Users::logout_user();
+ UserHelper::logout();
header("Location: index.php");
} else {
header("Content-Type: text/json");