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>
This commit is contained in:
parent
64d3a51080
commit
ecd29001d7
|
@ -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…
Reference in New Issue