From 6d55a062be5fd018b60a349cbeec82b574ecb38d Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Wed, 12 Jun 2013 21:23:34 +0200 Subject: [PATCH] remove additional array wrapping --- lib/files/cache/cache.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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'); } -- 2.39.5