aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorSebastian Wessalowski <sebastian@wessalowski.org>2017-03-02 16:52:05 +0100
committerSebastian Wessalowski <sebastian@wessalowski.org>2017-03-02 22:59:39 +0100
commite399097e3a1abf720d50aaab240f0379aaf76997 (patch)
tree9ddd96d6b06cf404b2a08bb7e993c5fbdcc86fc2 /lib/public
parent0ef15f93c4792306cfb5eee635d8edce7d944691 (diff)
downloadnextcloud-server-e399097e3a1abf720d50aaab240f0379aaf76997.tar.gz
nextcloud-server-e399097e3a1abf720d50aaab240f0379aaf76997.zip
Remove deprecated OC_User::isLoggedIn
Signed-off-by: Sebastian Wessalowski <sebastian@wessalowski.org>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/User.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/User.php b/lib/public/User.php
index 75ca6b6f757..64398a7f1f8 100644
--- a/lib/public/User.php
+++ b/lib/public/User.php
@@ -100,7 +100,7 @@ class User {
* @since 5.0.0
*/
public static function isLoggedIn() {
- return \OC_User::isLoggedIn();
+ return \OC::$server->getUserSession()->isLoggedIn();
}
/**