Skip to content

Commit

Permalink
Remove unreqired backtick removal
Browse files Browse the repository at this point in the history
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 #14734
  • Loading branch information
LukasReschke committed Mar 18, 2015
1 parent 093efa4 commit bb5c5a3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/private/files/cache/cache.php
Expand Up @@ -245,9 +245,6 @@ public function put($file, array $data) {
$queryParts[] = '`storage`';
$params[] = $this->getNumericStorageId();

$params = array_map(function($item) {
return trim($item, "`");
}, $params);
$queryParts = array_map(function($item) {
return trim($item, "`");
}, $queryParts);
Expand Down

0 comments on commit bb5c5a3

Please sign in to comment.