summaryrefslogtreecommitdiffstats
path: root/apps/encryption/lib
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-04-08 09:29:35 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2015-04-08 09:32:55 +0200
commit215a9bcbc3b95a97ef2a088eb195ec6bfa866167 (patch)
treed1e559385f9b589bf12bd2eb7b47c249f1d1a7de /apps/encryption/lib
parentd28d7c470f8716aa925afbd1ac31feb6bcd1722f (diff)
downloadnextcloud-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.php3
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;
}