diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-20 14:25:39 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-20 14:25:39 +0200 |
commit | 92b60e36de8d89e8ea7c4781a8c5d5fa4371b7c3 (patch) | |
tree | 4b8cd51bbac054669d76a0ee53da3fa2773aadae /lib/private/files/storage/wrapper/wrapper.php | |
parent | 3959f8ac4e979f9c1fcaef3d18deb0c7c858f560 (diff) | |
download | nextcloud-server-92b60e36de8d89e8ea7c4781a8c5d5fa4371b7c3.tar.gz nextcloud-server-92b60e36de8d89e8ea7c4781a8c5d5fa4371b7c3.zip |
Introduce Storage::getData() to allow storage implementations more control over the data array
Diffstat (limited to 'lib/private/files/storage/wrapper/wrapper.php')
-rw-r--r-- | lib/private/files/storage/wrapper/wrapper.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/private/files/storage/wrapper/wrapper.php b/lib/private/files/storage/wrapper/wrapper.php index 2552c926e02..0bea457c877 100644 --- a/lib/private/files/storage/wrapper/wrapper.php +++ b/lib/private/files/storage/wrapper/wrapper.php @@ -525,4 +525,12 @@ class Wrapper implements \OC\Files\Storage\Storage { public function moveFromStorage(\OCP\Files\Storage $sourceStorage, $sourceInternalPath, $targetInternalPath) { return $this->storage->moveFromStorage($sourceStorage, $sourceInternalPath, $targetInternalPath); } + + /** + * @param $path + * @return array + */ + public function getData($path) { + return $this->storage->getData($path); + } } |