summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-05-07 17:58:25 +0200
committerGitHub <noreply@github.com>2019-05-07 17:58:25 +0200
commit20a3650a3b183338db4b02a800fc7cbbabf25f15 (patch)
tree79c840f8c61a336cf85fae6f4512e24509f6ab7d
parent0e9d019a1477b8b380f55be0784be65627e84946 (diff)
parent6a30c65a322beca4788b64c35b1b94060ef9aaec (diff)
downloadnextcloud-server-20a3650a3b183338db4b02a800fc7cbbabf25f15.tar.gz
nextcloud-server-20a3650a3b183338db4b02a800fc7cbbabf25f15.zip
Merge pull request #15413 from nextcloud/cache-update-extra-param
remove extra param in cache update call
-rw-r--r--lib/private/Files/Cache/Cache.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Files/Cache/Cache.php b/lib/private/Files/Cache/Cache.php
index ef1f0f3c870..6843c3166ae 100644
--- a/lib/private/Files/Cache/Cache.php
+++ b/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), '/');
}
-} \ No newline at end of file
+}