aboutsummaryrefslogtreecommitdiffstats
path: root/apps/encryption/settings
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2016-01-05 09:50:59 +0100
committerMorris Jobke <hey@morrisjobke.de>2016-01-07 13:22:06 +0100
commitfb12063ae56565209f8b8d826bd188ff4392c91e (patch)
tree07619df545ca06faef61e044d30fffb053765768 /apps/encryption/settings
parent336fe868b2ee3a4105b93b71a1e739c9e412237b (diff)
downloadnextcloud-server-fb12063ae56565209f8b8d826bd188ff4392c91e.tar.gz
nextcloud-server-fb12063ae56565209f8b8d826bd188ff4392c91e.zip
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 ```
Diffstat (limited to 'apps/encryption/settings')
-rw-r--r--apps/encryption/settings/settings-admin.php2
1 files changed, 1 insertions, 1 deletions
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());