summaryrefslogtreecommitdiffstats
path: root/apps/encryption/lib/KeyManager.php
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-01-13 09:51:04 +0100
committerGitHub <noreply@github.com>2022-01-13 09:51:04 +0100
commit89d109a4d9a9c471f9dde7d5bd12a60ca91fe1f9 (patch)
tree76e56e0afc214eb0d9542b22e382c22fd77ae4b9 /apps/encryption/lib/KeyManager.php
parent7d5a63ab216347e412dc285667026eb66715cbf9 (diff)
parent6312c0df6949955d1cd59c3dd444268e0773293c (diff)
downloadnextcloud-server-89d109a4d9a9c471f9dde7d5bd12a60ca91fe1f9.tar.gz
nextcloud-server-89d109a4d9a9c471f9dde7d5bd12a60ca91fe1f9.zip
Merge pull request #30508 from nextcloud/fix/psaml-bin
Fix psalm not running
Diffstat (limited to 'apps/encryption/lib/KeyManager.php')
-rw-r--r--apps/encryption/lib/KeyManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/encryption/lib/KeyManager.php b/apps/encryption/lib/KeyManager.php
index 4a2c6c16e2b..ffd07c0f323 100644
--- a/apps/encryption/lib/KeyManager.php
+++ b/apps/encryption/lib/KeyManager.php
@@ -159,7 +159,7 @@ class KeyManager {
$this->config->setAppValue('encryption', 'masterKeyId', $this->masterKeyId);
}
- $this->keyId = $userSession && $userSession->isLoggedIn() ? $userSession->getUser()->getUID() : false;
+ $this->keyId = $userSession->isLoggedIn() ? $userSession->getUser()->getUID() : false;
$this->log = $log;
}