Skip to content
Snippets Groups Projects
Unverified Commit 20a3650a authored by Morris Jobke's avatar Morris Jobke Committed by GitHub
Browse files

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

remove extra param in cache update call
parents 0e9d019a 6a30c65a
No related branches found
No related tags found
No related merge requests found
...@@ -232,7 +232,7 @@ class Cache implements ICache { ...@@ -232,7 +232,7 @@ class Cache implements ICache {
*/ */
public function put($file, array $data) { public function put($file, array $data) {
if (($id = $this->getId($file)) > -1) { if (($id = $this->getId($file)) > -1) {
$this->update($id, $data, $file); $this->update($id, $data);
return $id; return $id;
} else { } else {
return $this->insert($file, $data); return $this->insert($file, $data);
...@@ -943,4 +943,4 @@ class Cache implements ICache { ...@@ -943,4 +943,4 @@ class Cache implements ICache {
return trim(\OC_Util::normalizeUnicode($path), '/'); return trim(\OC_Util::normalizeUnicode($path), '/');
} }
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment