remove additional array wrapping
This commit is contained in:
parent
d3eadcde56
commit
6d55a062be
1 changed files with 3 additions and 3 deletions
6
lib/files/cache/cache.php
vendored
6
lib/files/cache/cache.php
vendored
|
@ -208,9 +208,9 @@ class Cache {
|
|||
$params[] = $this->getNumericStorageId();
|
||||
$valuesPlaceholder = array_fill(0, count($queryParts), '?');
|
||||
|
||||
$sql = 'INSERT INTO `*PREFIX*filecache`(' . implode(', ', $queryParts) . ')'
|
||||
. ' VALUES(' . implode(', ', $valuesPlaceholder) . ')';
|
||||
\OC_DB::executeAudited($sql,array($params));
|
||||
$sql = 'INSERT INTO `*PREFIX*filecache` (' . implode(', ', $queryParts) . ')'
|
||||
. ' VALUES (' . implode(', ', $valuesPlaceholder) . ')';
|
||||
\OC_DB::executeAudited($sql, $params);
|
||||
|
||||
return (int)\OC_DB::insertid('*PREFIX*filecache');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue