diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-02-26 14:29:13 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-02-26 14:29:13 +0100 |
commit | bc49c6be04d78740d9b7cb100debcb6641559d39 (patch) | |
tree | 370d0d1b653e3cb464c1211d41ba89d107eab627 /tests | |
parent | 59df3ffdf4647fcff1996017723af8c5eca72522 (diff) | |
download | nextcloud-server-bc49c6be04d78740d9b7cb100debcb6641559d39.tar.gz nextcloud-server-bc49c6be04d78740d9b7cb100debcb6641559d39.zip |
Manually triger the filecache update hooks before any other hook
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/files/cache/updater.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/lib/files/cache/updater.php b/tests/lib/files/cache/updater.php index 48986149a73..1c4c965af0b 100644 --- a/tests/lib/files/cache/updater.php +++ b/tests/lib/files/cache/updater.php @@ -65,11 +65,6 @@ class Updater extends \PHPUnit_Framework_TestCase { Filesystem::mount($this->storage, array(), '/' . self::$user . '/files'); \OC_Hook::clear('OC_Filesystem'); - - \OC_Hook::connect('OC_Filesystem', 'post_write', '\OC\Files\Cache\Updater', 'writeHook'); - \OC_Hook::connect('OC_Filesystem', 'post_delete', '\OC\Files\Cache\Updater', 'deleteHook'); - \OC_Hook::connect('OC_Filesystem', 'post_rename', '\OC\Files\Cache\Updater', 'renameHook'); - \OC_Hook::connect('OC_Filesystem', 'post_touch', '\OC\Files\Cache\Updater', 'touchHook'); } public function tearDown() { |