diff --git a/app/rainloop/v/1.16.0/app/libraries/RainLoop/Utils.php b/app/rainloop/v/1.16.0/app/libraries/RainLoop/Utils.php index d772b8f3..33e87cb8 100644 --- a/app/rainloop/v/1.16.0/app/libraries/RainLoop/Utils.php +++ b/app/rainloop/v/1.16.0/app/libraries/RainLoop/Utils.php @@ -540,7 +540,7 @@ public static function IsOwnCloud() */ public static function IsOwnCloudLoggedIn() { - return self::IsOwnCloud() && \class_exists('OCP\User') && \OCP\User::isLoggedIn(); + return self::IsOwnCloud() && \OC::$server->getUserSession()->isLoggedIn(); } /**