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

Commit

Permalink
Merge pull request #273 from pierre-alain-b/debug-attempt-115-to-116
Browse files Browse the repository at this point in the history
Trying to fix a bug with nextcloud suggestions
  • Loading branch information
pierre-alain-b authored Apr 8, 2022
2 parents 7bd0332 + 449cfad commit 9556599
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 9556599

Please sign in to comment.