]> source.dussan.org Git - nextcloud-server.git/commitdiff
Cache: return non numberic storage id
authorRobin Appelman <icewind@owncloud.com>
Mon, 21 Jan 2013 21:01:22 +0000 (22:01 +0100)
committerRobin Appelman <icewind@owncloud.com>
Mon, 21 Jan 2013 21:01:22 +0000 (22:01 +0100)
lib/files/cache/cache.php

index 5c306c2ed161f144c68f5fd0e374be743ab519bf..7f6d191fee41debf101fe91b021d74da03ea20b7 100644 (file)
@@ -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']);
                }