diff options
author | Andrew Dolgov <[email protected]> | 2021-02-14 15:31:03 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-14 15:31:03 +0300 |
commit | a8cc43a0ff1cf6297577fae8536408287518baf4 (patch) | |
tree | 019405c7b2c79159b2ab1b517a78b25e3c993b5b /classes/handler/public.php | |
parent | 2547ece0cacb7080060ad3bc32b879fee6b52230 (diff) |
move logout_user() to UserHelper
Diffstat (limited to 'classes/handler/public.php')
-rwxr-xr-x | classes/handler/public.php | 2 |
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"); |