Skip to content
Snippets Groups Projects
Commit dfc0a26e authored by Morris Jobke's avatar Morris Jobke
Browse files

Merge pull request #15453 from owncloud/enc2_fix

fix function call
parents 6c327f83 215a9bcb
No related branches found
No related tags found
No related merge requests found
......@@ -276,12 +276,11 @@ class Encryption implements IEncryptionModule {
}
if ($this->keyManager->recoveryKeyExists() &&
$this->util->recoveryEnabled($this->user)) {
$this->util->isRecoveryEnabledForUser()) {
$publicKeys[$this->keyManager->getRecoveryKeyId()] = $this->keyManager->getRecoveryKey();
}
return $publicKeys;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment