Skip to content

Commit 686e263

Browse files
icewind1991kesselb
andauthored
Apply suggestions from code review
Co-authored-by: kesselb <[email protected]>
1 parent 6af7985 commit 686e263

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/private/Files/Cache/Wrapper/CacheJail.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ public function search($pattern) {
257257
->whereStorageId()
258258
->andWhere($query->expr()->orX(
259259
$query->expr()->like('path', $query->createNamedParameter($this->getGetUnjailedRoot() . '/%')),
260-
$query->expr()->eq('path_hash', $query->createNamedParameter(md5($this->getGetUnjailedRoot()))),
260+
$query->expr()->eq('path_hash', $query->createNamedParameter(md5($this->getGetUnjailedRoot())))
261261
))
262262
->andWhere($query->expr()->iLike('name', $query->createNamedParameter($pattern)));
263263

@@ -285,7 +285,7 @@ public function searchByMime($mimetype) {
285285
->whereStorageId()
286286
->andWhere($query->expr()->orX(
287287
$query->expr()->like('path', $query->createNamedParameter($this->getGetUnjailedRoot() . '/%')),
288-
$query->expr()->eq('path_hash', $query->createNamedParameter(md5($this->getGetUnjailedRoot()))),
288+
$query->expr()->eq('path_hash', $query->createNamedParameter(md5($this->getGetUnjailedRoot())))
289289
));
290290

291291
if (strpos($mimetype, '/')) {

0 commit comments

Comments
 (0)