diff --git a/apps/encryption/settings/settings-personal.php b/apps/encryption/settings/settings-personal.php index d1da649e37..3266351a07 100644 --- a/apps/encryption/settings/settings-personal.php +++ b/apps/encryption/settings/settings-personal.php @@ -35,7 +35,6 @@ $util = new \OCA\Encryption\Util( \OC::$server->getUserSession(), \OC::$server->getConfig()); -$session = new \OCA\Files_Encryption\Session($view); $session = \OC::$server->getSession(); $privateKeySet = $session->get('privateKey') !== false; diff --git a/apps/encryption/templates/settings-admin.php b/apps/encryption/templates/settings-admin.php index 616c593f6f..b64e75512e 100644 --- a/apps/encryption/templates/settings-admin.php +++ b/apps/encryption/templates/settings-admin.php @@ -7,7 +7,7 @@ script('core', 'multiselect');