Merge pull request #15418 from nextcloud/backport/15413/stable16

[stable16] remove extra param in cache update call
This commit is contained in:
Morris Jobke 2019-05-07 22:28:31 +02:00 committed by GitHub
commit 03988b114c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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), '/');
}
}
}