remove extra param in cache update call

param was leftover from earlier iterations of the "update event"

Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/15413/head
Robin Appelman 7 years ago
parent 2cfe4fdd4a
commit 6a30c65a32
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
  1. 4
      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), '/');
}
}
}

Loading…
Cancel
Save