From 7b8f64d20f89e350375311cc070dec13068d1bb3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20Schie=C3=9Fle?= Date: Fri, 24 May 2013 14:54:47 +0200 Subject: [PATCH] remove unneeded hooks --- tests/lib/cache/file.php | 7 +------ 1 file changed, 1 insertion(+), 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()); -- 2.39.5