From: Björn Schießle Date: Fri, 24 May 2013 12:54:47 +0000 (+0200) Subject: remove unneeded hooks X-Git-Tag: v5.0.7~46^2~10 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7b8f64d20f89e350375311cc070dec13068d1bb3;p=nextcloud-server.git remove unneeded hooks --- 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());