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 🙈

Regression of https://github.com/owncloud/core/pull/14734
This commit is contained in:
Lukas Reschke 2015-03-18 12:33:54 +01:00
parent 093efa458c
commit bb5c5a3691
1 changed files with 0 additions and 3 deletions

View File

@ -245,9 +245,6 @@ class Cache {
$queryParts[] = '`storage`'; $queryParts[] = '`storage`';
$params[] = $this->getNumericStorageId(); $params[] = $this->getNumericStorageId();
$params = array_map(function($item) {
return trim($item, "`");
}, $params);
$queryParts = array_map(function($item) { $queryParts = array_map(function($item) {
return trim($item, "`"); return trim($item, "`");
}, $queryParts); }, $queryParts);