Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-05-24 16:54:47 +0400
committerBjörn Schießle <schiessle@owncloud.com>2013-05-24 16:54:47 +0400
commit7b8f64d20f89e350375311cc070dec13068d1bb3 (patch)
tree6031507a5e1ef786dff5c0e545c82683a45b78e8 /tests
parentcb12cf8324411478f6817178c45bab24cb88cdff (diff)
remove unneeded hooks
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/cache/file.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/lib/cache/file.php b/tests/lib/cache/file.php
index e083d687bc0..53abba24197 100644
--- a/tests/lib/cache/file.php
+++ b/tests/lib/cache/file.php
@@ -32,12 +32,7 @@ class Test_Cache_File extends Test_Cache {
//clear all proxies and hooks so we can do clean testing
OC_FileProxy::clearProxies();
OC_Hook::clear('OC_Filesystem');
-
- //enable only the encryption hook if needed
- if(OC_App::isEnabled('files_encryption')) {
- OC_FileProxy::register(new OC_FileProxy_Encryption());
- }
-
+
//set up temporary storage
\OC\Files\Filesystem::clearMounts();
$storage = new \OC\Files\Storage\Temporary(array());