From: Bjoern Schiessle Date: Wed, 8 Apr 2015 07:29:35 +0000 (+0200) Subject: fix function call X-Git-Tag: v8.1.0alpha1~75^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=215a9bcbc3b95a97ef2a088eb195ec6bfa866167;p=nextcloud-server.git fix function call --- 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; }