remove additional array wrapping

This commit is contained in:
Jörn Friedrich Dreyer 2013-06-12 21:23:34 +02:00
parent d3eadcde56
commit 6d55a062be
1 changed files with 3 additions and 3 deletions

View File

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