From 215a9bcbc3b95a97ef2a088eb195ec6bfa866167 Mon Sep 17 00:00:00 2001
From: Bjoern Schiessle <schiessle@owncloud.com>
Date: Wed, 8 Apr 2015 09:29:35 +0200
Subject: [PATCH] fix function call

---
 apps/encryption/lib/crypto/encryption.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/apps/encryption/lib/crypto/encryption.php b/apps/encryption/lib/crypto/encryption.php
index 1409a95b95..04b7b83b0c 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;
 	}
 
-- 
GitLab