diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-01-21 22:01:22 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-01-21 22:01:22 +0100 |
commit | 42a1a17a30b8299a7dc4ea71aed57e607bdc2838 (patch) | |
tree | 8d09e6b66e045b7047ebcce3bb982a2f3b094a64 | |
parent | 4c0566187550880b92f861a9786bcb7df64265b4 (diff) | |
download | nextcloud-server-42a1a17a30b8299a7dc4ea71aed57e607bdc2838.tar.gz nextcloud-server-42a1a17a30b8299a7dc4ea71aed57e607bdc2838.zip |
Cache: return non numberic storage id
-rw-r--r-- | lib/files/cache/cache.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/files/cache/cache.php b/lib/files/cache/cache.php index 5c306c2ed16..7f6d191fee4 100644 --- a/lib/files/cache/cache.php +++ b/lib/files/cache/cache.php @@ -130,6 +130,7 @@ class Cache { $data['size'] = (int)$data['size']; $data['mtime'] = (int)$data['mtime']; $data['encrypted'] = (bool)$data['encrypted']; + $data['storage'] = $this->storageId; $data['mimetype'] = $this->getMimetype($data['mimetype']); $data['mimepart'] = $this->getMimetype($data['mimepart']); } |