remove additional array wrapping

remotes/origin/stable6
Jörn Friedrich Dreyer 12 years ago
parent d3eadcde56
commit 6d55a062be
  1. 6
      lib/files/cache/cache.php

@ -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…
Cancel
Save