We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2a16ce commit 961bf74Copy full SHA for 961bf74
lib/private/Files/Cache/Storage.php
@@ -237,6 +237,7 @@ public static function cleanByMountId(int $mountId) {
237
->from('mounts')
238
->where($query->expr()->eq('mount_id', $query->createNamedParameter($mountId, IQueryBuilder::PARAM_INT)));
239
$storageIds = $query->executeQuery()->fetchAll(\PDO::FETCH_COLUMN);
240
+ $storageIds = array_unique($storageIds);
241
242
$query = $db->getQueryBuilder();
243
$query->delete('filecache')
0 commit comments