Merge pull request #21455 from owncloud/fix-method-signature

Fix method call + undefined variable
This commit is contained in:
Thomas Müller 2016-01-07 16:18:02 +01:00
commit fddbdbd0e6
1 changed files with 1 additions and 1 deletions

View File

@ -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());