]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove extra param in cache update call 15413/head
authorRobin Appelman <robin@icewind.nl>
Tue, 7 May 2019 12:53:02 +0000 (14:53 +0200)
committerRobin Appelman <robin@icewind.nl>
Tue, 7 May 2019 12:53:02 +0000 (14:53 +0200)
param was leftover from earlier iterations of the "update event"

Signed-off-by: Robin Appelman <robin@icewind.nl>
lib/private/Files/Cache/Cache.php

index ef1f0f3c8702d0687d68b8650c9aaa89831df024..6843c3166aef204bbff465cbdb544af79ffdc7ad 100644 (file)
@@ -232,7 +232,7 @@ class Cache implements ICache {
         */
        public function put($file, array $data) {
                if (($id = $this->getId($file)) > -1) {
-                       $this->update($id, $data, $file);
+                       $this->update($id, $data);
                        return $id;
                } else {
                        return $this->insert($file, $data);
@@ -943,4 +943,4 @@ class Cache implements ICache {
 
                return trim(\OC_Util::normalizeUnicode($path), '/');
        }
-}
\ No newline at end of file
+}