From 6d55a062be5fd018b60a349cbeec82b574ecb38d Mon Sep 17 00:00:00 2001 From: Jörn Friedrich Dreyer Date: Wed, 12 Jun 2013 21:23:34 +0200 Subject: remove additional array wrapping --- lib/files/cache/cache.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/files') diff --git a/lib/files/cache/cache.php b/lib/files/cache/cache.php index ec3ba77ea97..eced674b4cc 100644 --- a/lib/files/cache/cache.php +++ b/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'); } -- cgit v1.2.3