mirror of
https://github.com/nextcloud/server.git
synced 2026-03-21 18:11:02 -04:00
fix: Run cleanByMoundId query on all shards
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
a425a1affc
commit
f230abeef8
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