]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove unneeded hooks
authorBjörn Schießle <schiessle@owncloud.com>
Fri, 24 May 2013 12:54:47 +0000 (14:54 +0200)
committerBjörn Schießle <schiessle@owncloud.com>
Fri, 24 May 2013 12:54:47 +0000 (14:54 +0200)
tests/lib/cache/file.php

index e083d687bc05cde766586b5a69f30b969a82bb84..53abba241979467ed459cbbb557613c42b891bd5 100644 (file)
@@ -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());