summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/lib/helper.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-05-12 16:30:39 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-05-12 16:30:39 +0200
commite0dd69e4e605b7f4a2af4cdc8a15a8dfc1c0902a (patch)
tree53b6bd2d3da029e3476a95fe7373d0debca7d302 /apps/files_encryption/lib/helper.php
parent33987eea8302e5b8f7889c934debdc2b9dd0296c (diff)
downloadnextcloud-server-e0dd69e4e605b7f4a2af4cdc8a15a8dfc1c0902a.tar.gz
nextcloud-server-e0dd69e4e605b7f4a2af4cdc8a15a8dfc1c0902a.zip
remove legacy aka deprecated code: OC_FilesystemView
Diffstat (limited to 'apps/files_encryption/lib/helper.php')
-rwxr-xr-xapps/files_encryption/lib/helper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_encryption/lib/helper.php b/apps/files_encryption/lib/helper.php
index 82a323d5e12..c3a31ff9fbc 100755
--- a/apps/files_encryption/lib/helper.php
+++ b/apps/files_encryption/lib/helper.php
@@ -153,7 +153,7 @@ class Helper {
$return = true;
} else { // get recovery key and check the password
- $util = new \OCA\Encryption\Util(new \OC_FilesystemView('/'), \OCP\User::getUser());
+ $util = new \OCA\Encryption\Util(new \OC\Files\View('/'), \OCP\User::getUser());
$return = $util->checkRecoveryPassword($recoveryPassword);
if ($return) {
$appConfig->setValue('files_encryption', 'recoveryAdminEnabled', 1);
@@ -214,7 +214,7 @@ class Helper {
* @return bool
*/
public static function adminDisableRecovery($recoveryPassword) {
- $util = new Util(new \OC_FilesystemView('/'), \OCP\User::getUser());
+ $util = new Util(new \OC\Files\View('/'), \OCP\User::getUser());
$return = $util->checkRecoveryPassword($recoveryPassword);
if ($return) {