diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-11-15 00:57:30 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-11-15 00:57:30 +0100 |
commit | cbcd9ba84ada830d91a6f1d7bee0ac59762835ed (patch) | |
tree | b5c71d4d517f915d5c22979947796aba06021ce6 /tests/lib/files/view.php | |
parent | bf2ac9f113d41dc944f42d1516649a3a72e88a65 (diff) | |
download | nextcloud-server-cbcd9ba84ada830d91a6f1d7bee0ac59762835ed.tar.gz nextcloud-server-cbcd9ba84ada830d91a6f1d7bee0ac59762835ed.zip |
allow storage backends to implement custom permission management
Diffstat (limited to 'tests/lib/files/view.php')
-rw-r--r-- | tests/lib/files/view.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/files/view.php b/tests/lib/files/view.php index fa562cb15cd..a173094b1cc 100644 --- a/tests/lib/files/view.php +++ b/tests/lib/files/view.php @@ -21,7 +21,8 @@ class View extends \PHPUnit_Framework_TestCase { foreach ($this->storages as $storage) { $cache = $storage->getCache(); $ids = $cache->getAll(); - \OC\Files\Cache\Permissions::removeMultiple($ids, \OC_User::getUser()); + $permissionsCache = $storage->getPermissionsCache(); + $permissionsCache->removeMultiple($ids, \OC_User::getUser()); $cache->clear(); } } |