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

@ -210,7 +210,7 @@ class Cache {
$sql = 'INSERT INTO `*PREFIX*filecache` (' . implode(', ', $queryParts) . ')' $sql = 'INSERT INTO `*PREFIX*filecache` (' . implode(', ', $queryParts) . ')'
. ' VALUES (' . implode(', ', $valuesPlaceholder) . ')'; . ' VALUES (' . implode(', ', $valuesPlaceholder) . ')';
\OC_DB::executeAudited($sql,array($params)); \OC_DB::executeAudited($sql, $params);
return (int)\OC_DB::insertid('*PREFIX*filecache'); return (int)\OC_DB::insertid('*PREFIX*filecache');
} }