summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Cache
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2019-05-07 14:53:02 +0200
committerRobin Appelman <robin@icewind.nl>2019-05-07 14:53:02 +0200
commit6a30c65a322beca4788b64c35b1b94060ef9aaec (patch)
tree9db97984d5163f68df81175d4d821679877d4df1 /lib/private/Files/Cache
parent2cfe4fdd4ac0ca0b6588dbf489e495a83eb0f119 (diff)
downloadnextcloud-server-6a30c65a322beca4788b64c35b1b94060ef9aaec.tar.gz
nextcloud-server-6a30c65a322beca4788b64c35b1b94060ef9aaec.zip
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>
Diffstat (limited to 'lib/private/Files/Cache')
-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
+}