diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-11-25 13:53:31 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-11-25 14:16:00 +0100 |
commit | b025f07fb7090acfe9d168974b4ce2e66f973e30 (patch) | |
tree | b6fd66ae1914ead55e046d34c55ea0569587107c /lib/private/files/storage/wrapper | |
parent | 50f6817ce99f3870e1e8dea92eaa35a0c40553ba (diff) | |
download | nextcloud-server-b025f07fb7090acfe9d168974b4ce2e66f973e30.tar.gz nextcloud-server-b025f07fb7090acfe9d168974b4ce2e66f973e30.zip |
Make Cache\Updater per storage
Diffstat (limited to 'lib/private/files/storage/wrapper')
-rw-r--r-- | lib/private/files/storage/wrapper/wrapper.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/private/files/storage/wrapper/wrapper.php b/lib/private/files/storage/wrapper/wrapper.php index 5327b94211b..81284c7aa69 100644 --- a/lib/private/files/storage/wrapper/wrapper.php +++ b/lib/private/files/storage/wrapper/wrapper.php @@ -437,6 +437,13 @@ class Wrapper implements \OC\Files\Storage\Storage { return $this->storage->getPropagator($storage); } + public function getUpdater($storage = null) { + if (!$storage) { + $storage = $this; + } + return $this->storage->getUpdater($storage); + } + /** * @return \OC\Files\Cache\Storage */ |