]> source.dussan.org Git - nextcloud-server.git/commitdiff
Share: fix cache put function
authorRobin Appelman <icewind@owncloud.com>
Tue, 1 Jan 2013 17:10:38 +0000 (18:10 +0100)
committerRobin Appelman <icewind@owncloud.com>
Tue, 1 Jan 2013 17:10:38 +0000 (18:10 +0100)
apps/files_sharing/lib/cache.php

index 679e42d94d11a625bca71cd83bb0fe2c0d887ce0..07c305bb95204c798ee6e570dba8117245fb0a4f 100644 (file)
@@ -110,7 +110,7 @@ class Shared_Cache extends Cache {
         */
        public function put($file, array $data) {
                if ($cache = $this->getSourceCache($file)) {
-                       return $cache->put($this->files[$file]);
+                       return $cache->put($this->files[$file], $data);
                }
                return false;
        }