Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Trying to fix a bug with nextcloud suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre-alain-b committed Apr 8, 2022
1 parent 7bd0332 commit 449cfad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/rainloop/v/1.16.0/app/libraries/RainLoop/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

/**
Expand Down

0 comments on commit 449cfad

Please sign in to comment.