diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-05-12 16:30:39 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-05-12 16:30:39 +0200 |
commit | e0dd69e4e605b7f4a2af4cdc8a15a8dfc1c0902a (patch) | |
tree | 53b6bd2d3da029e3476a95fe7373d0debca7d302 /settings | |
parent | 33987eea8302e5b8f7889c934debdc2b9dd0296c (diff) | |
download | nextcloud-server-e0dd69e4e605b7f4a2af4cdc8a15a8dfc1c0902a.tar.gz nextcloud-server-e0dd69e4e605b7f4a2af4cdc8a15a8dfc1c0902a.zip |
remove legacy aka deprecated code: OC_FilesystemView
Diffstat (limited to 'settings')
-rw-r--r-- | settings/ajax/decryptall.php | 2 | ||||
-rw-r--r-- | settings/changepassword/controller.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/settings/ajax/decryptall.php b/settings/ajax/decryptall.php index d12df230d41..55685f778d1 100644 --- a/settings/ajax/decryptall.php +++ b/settings/ajax/decryptall.php @@ -10,7 +10,7 @@ OC_App::loadApp('files_encryption'); $params = array('uid' => \OCP\User::getUser(), 'password' => $_POST['password']); -$view = new OC_FilesystemView('/'); +$view = new OC\Files\View('/'); $util = new \OCA\Encryption\Util($view, \OCP\User::getUser()); $l = \OC_L10N::get('settings'); diff --git a/settings/changepassword/controller.php b/settings/changepassword/controller.php index 9f1e7329964..052715555e5 100644 --- a/settings/changepassword/controller.php +++ b/settings/changepassword/controller.php @@ -52,7 +52,7 @@ class Controller { if (\OC_App::isEnabled('files_encryption')) { //handle the recovery case - $util = new \OCA\Encryption\Util(new \OC_FilesystemView('/'), $username); + $util = new \OCA\Encryption\Util(new \OC\Files\View('/'), $username); $recoveryAdminEnabled = \OC_Appconfig::getValue('files_encryption', 'recoveryAdminEnabled'); $validRecoveryPassword = false; |