Skip to content

Commit

Permalink
Update apps/encryption/lib/Listeners/UserEventsListener.php
Browse files Browse the repository at this point in the history
Co-authored-by: Côme Chilliet <[email protected]>
Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux and come-nc authored Oct 11, 2024
1 parent c945d72 commit 6654d12
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions apps/encryption/lib/Listeners/UserEventsListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ public function handle(Event $event): void {
*/
private function onUserLogin(string $userId, ?string $password): void {
// ensure filesystem is loaded
if (!\OC\Files\Filesystem::$loaded) {
\OC_Util::setupFS($userId);
}
$this->setupManager->setupForUser($user);

Check failure on line 72 in apps/encryption/lib/Listeners/UserEventsListener.php

View workflow job for this annotation

GitHub Actions / static-code-analysis

UndefinedThisPropertyFetch

apps/encryption/lib/Listeners/UserEventsListener.php:72:3: UndefinedThisPropertyFetch: Instance property OCA\Encryption\Listeners\UserEventsListener::$setupManager is not defined (see https://psalm.dev/041)
if ($this->util->isMasterKeyEnabled() === false) {
// Skip if no master key and the password is not provided
if ($password === null) {
Expand Down

0 comments on commit 6654d12

Please sign in to comment.