mirror of
https://github.com/nextcloud/server.git
synced 2026-05-25 02:34:12 -04:00
Merge pull request #53380 from nextcloud/backport/48210/stable31
[stable31] fix: Run cleanByMoundId query on all shards
This commit is contained in:
commit
8729a42328
1 changed files with 1 additions and 0 deletions
|
|
@ -213,6 +213,7 @@ class Storage {
|
|||
$query = $db->getQueryBuilder();
|
||||
$query->delete('filecache')
|
||||
->where($query->expr()->in('storage', $query->createNamedParameter($storageIds, IQueryBuilder::PARAM_INT_ARRAY)));
|
||||
$query->runAcrossAllShards();
|
||||
$query->executeStatement();
|
||||
|
||||
$query = $db->getQueryBuilder();
|
||||
|
|
|
|||
Loading…
Reference in a new issue