diff options
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php index 16ce0973a95..cc0429af110 100644 --- a/lib/base.php +++ b/lib/base.php @@ -438,7 +438,7 @@ class OC { if (isset($_COOKIE[session_name()])) { setcookie(session_name(), null, -1, self::$WEBROOT ? : '/'); } - $session->clear(); + \OC::$server->getUserSession()->logout(); } $session->set('LAST_ACTIVITY', time()); |