summaryrefslogtreecommitdiffstats
path: root/lib/private/files/cache
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-03-18 12:33:54 +0100
committerLukas Reschke <lukas@owncloud.com>2015-03-18 12:38:19 +0100
commitbb5c5a36910c6ef67c6cd7ad49784972ff9640bc (patch)
tree83050b4950b8c22407a0302b41012269a4dd98af /lib/private/files/cache
parent093efa458c16ea4a7f7fcaf3f98e1e0fb96624c4 (diff)
downloadnextcloud-server-bb5c5a36910c6ef67c6cd7ad49784972ff9640bc.tar.gz
nextcloud-server-bb5c5a36910c6ef67c6cd7ad49784972ff9640bc.zip
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
Diffstat (limited to 'lib/private/files/cache')
-rw-r--r--lib/private/files/cache/cache.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/private/files/cache/cache.php b/lib/private/files/cache/cache.php
index 64661ca1157..670ac2ec524 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);