diff --git a/lib/private/Files/Cache/Cache.php b/lib/private/Files/Cache/Cache.php index ef1f0f3c87..6843c3166a 100644 --- a/lib/private/Files/Cache/Cache.php +++ b/lib/private/Files/Cache/Cache.php @@ -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 +}