diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-12-03 16:16:09 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-12-09 09:47:26 +0100 |
commit | 78a307995c510c0184d915fcab26baa3be815342 (patch) | |
tree | 75ded3bfb1a97de121777d553aa398981faed591 /apps | |
parent | 7f7006643f7e659c86b81720dd50b33dbbb07430 (diff) | |
download | nextcloud-server-78a307995c510c0184d915fcab26baa3be815342.tar.gz nextcloud-server-78a307995c510c0184d915fcab26baa3be815342.zip |
Fix namespace of Files_Encryption outside of the app
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/index.php | 2 | ||||
-rw-r--r-- | apps/files_trashbin/lib/trashbin.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/index.php b/apps/files/index.php index 4142a02b97e..6635d70d008 100644 --- a/apps/files/index.php +++ b/apps/files/index.php @@ -69,7 +69,7 @@ $storageInfo=OC_Helper::getStorageInfo('/', $dirInfo); // if the encryption app is disabled, than everything is fine (INIT_SUCCESSFUL status code) $encryptionInitStatus = 2; if (OC_App::isEnabled('files_encryption')) { - $session = new \OCA\Encryption\Session(new \OC\Files\View('/')); + $session = new \OCA\Files_Encryption\Session(new \OC\Files\View('/')); $encryptionInitStatus = $session->getInitialized(); } diff --git a/apps/files_trashbin/lib/trashbin.php b/apps/files_trashbin/lib/trashbin.php index b9d7a4aa6cf..1e8f31dbd2a 100644 --- a/apps/files_trashbin/lib/trashbin.php +++ b/apps/files_trashbin/lib/trashbin.php @@ -274,7 +274,7 @@ class Trashbin { return 0; } - $util = new \OCA\Encryption\Util($rootView, $user); + $util = new \OCA\Files_Encryption\Util($rootView, $user); $baseDir = '/files_encryption/'; if (!$util->isSystemWideMountPoint($ownerPath)) { @@ -448,7 +448,7 @@ class Trashbin { return false; } - $util = new \OCA\Encryption\Util($rootView, $user); + $util = new \OCA\Files_Encryption\Util($rootView, $user); $baseDir = '/files_encryption/'; if (!$util->isSystemWideMountPoint($ownerPath)) { |