summaryrefslogtreecommitdiffstats
path: root/tests/lib/files/cache/watcher.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/files/cache/watcher.php')
-rw-r--r--tests/lib/files/cache/watcher.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/lib/files/cache/watcher.php b/tests/lib/files/cache/watcher.php
index 7f4f3c5ee98..22c11b9a4e0 100644
--- a/tests/lib/files/cache/watcher.php
+++ b/tests/lib/files/cache/watcher.php
@@ -23,8 +23,6 @@ class Watcher extends \PHPUnit_Framework_TestCase {
foreach ($this->storages as $storage) {
$cache = $storage->getCache();
$ids = $cache->getAll();
- $permissionsCache = $storage->getPermissionsCache();
- $permissionsCache->removeMultiple($ids, \OC_User::getUser());
$cache->clear();
}
}