diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-06-12 21:23:34 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-06-12 21:23:34 +0200 |
commit | 6d55a062be5fd018b60a349cbeec82b574ecb38d (patch) | |
tree | cf3cc7c77c35bf47d97b6c021c2d9969eda815a6 | |
parent | d3eadcde5662590846422a4dc6ed419a4367d90a (diff) | |
download | nextcloud-server-6d55a062be5fd018b60a349cbeec82b574ecb38d.tar.gz nextcloud-server-6d55a062be5fd018b60a349cbeec82b574ecb38d.zip |
remove additional array wrapping
-rw-r--r-- | lib/files/cache/cache.php | 6 |
1 files 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'); } |