diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-20 14:54:54 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-20 14:54:54 +0200 |
commit | 23f1bdc3d4682dbb2e8d1a82921d62dbe0b213be (patch) | |
tree | f1a078e04f4d577cd03355c880257977e5e3f295 /lib/private/files/storage/wrapper | |
parent | 92b60e36de8d89e8ea7c4781a8c5d5fa4371b7c3 (diff) | |
download | nextcloud-server-23f1bdc3d4682dbb2e8d1a82921d62dbe0b213be.tar.gz nextcloud-server-23f1bdc3d4682dbb2e8d1a82921d62dbe0b213be.zip |
Introduce Storage::getMetaData() to allow storage implementations more control over the data array
Diffstat (limited to 'lib/private/files/storage/wrapper')
-rw-r--r-- | lib/private/files/storage/wrapper/encryption.php | 6 | ||||
-rw-r--r-- | lib/private/files/storage/wrapper/wrapper.php | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/private/files/storage/wrapper/encryption.php b/lib/private/files/storage/wrapper/encryption.php index df91b7189dc..125e5f0f57e 100644 --- a/lib/private/files/storage/wrapper/encryption.php +++ b/lib/private/files/storage/wrapper/encryption.php @@ -111,11 +111,11 @@ class Encryption extends Wrapper { } /** - * @param $path + * @param string $path * @return array */ - public function getData($path) { - $data = $this->storage->getData($path); + public function getMetaData($path) { + $data = $this->storage->getMetaData($path); $fullPath = $this->getFullPath($path); if (isset($this->unencryptedSize[$fullPath])) { diff --git a/lib/private/files/storage/wrapper/wrapper.php b/lib/private/files/storage/wrapper/wrapper.php index 0bea457c877..f3dc09db138 100644 --- a/lib/private/files/storage/wrapper/wrapper.php +++ b/lib/private/files/storage/wrapper/wrapper.php @@ -527,10 +527,10 @@ class Wrapper implements \OC\Files\Storage\Storage { } /** - * @param $path + * @param string $path * @return array */ - public function getData($path) { - return $this->storage->getData($path); + public function getMetaData($path) { + return $this->storage->getMetaData($path); } } |