Skip to content

Commit 03988b1

Browse files
authored
Merge pull request #15418 from nextcloud/backport/15413/stable16
[stable16] remove extra param in cache update call
2 parents fbc9249 + ecd2900 commit 03988b1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/private/Files/Cache/Cache.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ public function getFolderContentsById($fileId) {
232232
*/
233233
public function put($file, array $data) {
234234
if (($id = $this->getId($file)) > -1) {
235-
$this->update($id, $data, $file);
235+
$this->update($id, $data);
236236
return $id;
237237
} else {
238238
return $this->insert($file, $data);
@@ -943,4 +943,4 @@ public function normalize($path) {
943943

944944
return trim(\OC_Util::normalizeUnicode($path), '/');
945945
}
946-
}
946+
}

0 commit comments

Comments
 (0)