Skip to content
Snippets Groups Projects
Commit 215a9bcb authored by Björn Schießle's avatar Björn Schießle
Browse files

fix function call

parent d28d7c47
Branches
No related tags found
No related merge requests found
...@@ -276,12 +276,11 @@ class Encryption implements IEncryptionModule { ...@@ -276,12 +276,11 @@ class Encryption implements IEncryptionModule {
} }
if ($this->keyManager->recoveryKeyExists() && if ($this->keyManager->recoveryKeyExists() &&
$this->util->recoveryEnabled($this->user)) { $this->util->isRecoveryEnabledForUser()) {
$publicKeys[$this->keyManager->getRecoveryKeyId()] = $this->keyManager->getRecoveryKey(); $publicKeys[$this->keyManager->getRecoveryKeyId()] = $this->keyManager->getRecoveryKey();
} }
return $publicKeys; return $publicKeys;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment