From 6d55a062be5fd018b60a349cbeec82b574ecb38d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= <jfd@butonic.de>
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 ec3ba77ea9..eced674b4c 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');
 		}
-- 
GitLab