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:
parent
093efa458c
commit
bb5c5a3691
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue