diff options
Diffstat (limited to 'lib/public/user.php')
-rw-r--r-- | lib/public/user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/user.php b/lib/public/user.php index 825e77aef6d..64ac92d2100 100644 --- a/lib/public/user.php +++ b/lib/public/user.php @@ -119,7 +119,7 @@ class User { * @since 5.0.0 */ public static function logout() { - \OC_User::logout(); + \OC::$server->getUserSession()->logout(); } /** |