diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2015-04-08 09:29:35 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2015-04-08 09:32:55 +0200 |
commit | 215a9bcbc3b95a97ef2a088eb195ec6bfa866167 (patch) | |
tree | d1e559385f9b589bf12bd2eb7b47c249f1d1a7de /apps/encryption/lib | |
parent | d28d7c470f8716aa925afbd1ac31feb6bcd1722f (diff) | |
download | nextcloud-server-215a9bcbc3b95a97ef2a088eb195ec6bfa866167.tar.gz nextcloud-server-215a9bcbc3b95a97ef2a088eb195ec6bfa866167.zip |
fix function call
Diffstat (limited to 'apps/encryption/lib')
-rw-r--r-- | apps/encryption/lib/crypto/encryption.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/encryption/lib/crypto/encryption.php b/apps/encryption/lib/crypto/encryption.php index 1409a95b954..04b7b83b0c2 100644 --- a/apps/encryption/lib/crypto/encryption.php +++ b/apps/encryption/lib/crypto/encryption.php @@ -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; } |