From bb5c5a36910c6ef67c6cd7ad49784972ff9640bc Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Wed, 18 Mar 2015 12:33:54 +0100 Subject: [PATCH] Remove unreqired backtick removal Without this files with a ` (backtick) in the beginning of the filenames where simply not correctly referenced as the ` got removed. This can lead to all possible havoc situations. Should get backported to stable8 and in future we might consider if it is really worth to backport such changes when it is just for SQLite :see_no_evil: Regression of https://github.com/owncloud/core/pull/14734 --- lib/private/files/cache/cache.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/private/files/cache/cache.php b/lib/private/files/cache/cache.php index 64661ca115..670ac2ec52 100644 --- a/lib/private/files/cache/cache.php +++ b/lib/private/files/cache/cache.php @@ -245,9 +245,6 @@ class Cache { $queryParts[] = '`storage`'; $params[] = $this->getNumericStorageId(); - $params = array_map(function($item) { - return trim($item, "`"); - }, $params); $queryParts = array_map(function($item) { return trim($item, "`"); }, $queryParts);