diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-05-24 14:54:47 +0200 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-05-24 14:54:47 +0200 |
commit | 7b8f64d20f89e350375311cc070dec13068d1bb3 (patch) | |
tree | 6031507a5e1ef786dff5c0e545c82683a45b78e8 /tests/lib/cache/file.php | |
parent | cb12cf8324411478f6817178c45bab24cb88cdff (diff) | |
download | nextcloud-server-7b8f64d20f89e350375311cc070dec13068d1bb3.tar.gz nextcloud-server-7b8f64d20f89e350375311cc070dec13068d1bb3.zip |
remove unneeded hooks
Diffstat (limited to 'tests/lib/cache/file.php')
-rw-r--r-- | tests/lib/cache/file.php | 7 |
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()); |