From fb12063ae56565209f8b8d826bd188ff4392c91e Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Tue, 5 Jan 2016 09:50:59 +0100 Subject: Fix method call + undefined variable 1. Variable is not defined 2. Method does not expect any parameters ``` Undefined variable: user at /Users/lukasreschke/Documents/Programming/master/apps/encryption/settings/settings-admin.php#45 ``` --- apps/encryption/settings/settings-admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/encryption/settings/settings-admin.php') diff --git a/apps/encryption/settings/settings-admin.php b/apps/encryption/settings/settings-admin.php index 8d55d587fed..32640ef0661 100644 --- a/apps/encryption/settings/settings-admin.php +++ b/apps/encryption/settings/settings-admin.php @@ -42,7 +42,7 @@ $util = new \OCA\Encryption\Util( $recoveryAdminEnabled = \OC::$server->getConfig()->getAppValue('encryption', 'recoveryAdminEnabled', '0'); $session = new \OCA\Encryption\Session(\OC::$server->getSession()); -$encryptHomeStorage = $util->shouldEncryptHomeStorage($user); +$encryptHomeStorage = $util->shouldEncryptHomeStorage(); $tmpl->assign('recoveryEnabled', $recoveryAdminEnabled); $tmpl->assign('initStatus', $session->getStatus()); -- cgit v1.2.3