Browse Source

Merge pull request #15413 from nextcloud/cache-update-extra-param

remove extra param in cache update call
pull/15365/head
Morris Jobke 7 years ago
committed by GitHub
parent
commit
20a3650a3b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      lib/private/Files/Cache/Cache.php

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