mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
fix: explicitly filter for storageid in preview cleanup job
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
16c184e2cb
commit
5ea972922b
1 changed files with 2 additions and 0 deletions
|
|
@ -72,6 +72,8 @@ class BackgroundCleanupJob extends TimedJob {
|
|||
))
|
||||
->where(
|
||||
$qb->expr()->isNull('b.fileid')
|
||||
)->andWhere(
|
||||
$qb->expr()->eq('a.storage', $qb->createNamedParameter($this->previewFolder->getStorageId()))
|
||||
)->andWhere(
|
||||
$qb->expr()->eq('a.parent', $qb->createNamedParameter($this->previewFolder->getId()))
|
||||
)->andWhere(
|
||||
|
|
|
|||
Loading…
Reference in a new issue