From ecd29001d7b4d07576413da1677ce23cd495c8d4 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Tue, 7 May 2019 14:53:02 +0200 Subject: [PATCH] remove extra param in cache update call param was leftover from earlier iterations of the "update event" Signed-off-by: Robin Appelman --- lib/private/Files/Cache/Cache.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/private/Files/Cache/Cache.php b/lib/private/Files/Cache/Cache.php index ef1f0f3c8702d..6843c3166aef2 100644 --- a/lib/private/Files/Cache/Cache.php +++ b/lib/private/Files/Cache/Cache.php @@ -232,7 +232,7 @@ public function getFolderContentsById($fileId) { */ 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 @@ public function normalize($path) { return trim(\OC_Util::normalizeUnicode($path), '/'); } -} \ No newline at end of file +}