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.
2 parents cc5e26b + d3b9d49 commit a44671dCopy full SHA for a44671d
lib/private/Files/Cache/Storage.php
@@ -230,6 +230,7 @@ public static function cleanByMountId(int $mountId) {
230
->from('mounts')
231
->where($query->expr()->eq('mount_id', $query->createNamedParameter($mountId, IQueryBuilder::PARAM_INT)));
232
$storageIds = $query->executeQuery()->fetchAll(\PDO::FETCH_COLUMN);
233
+ $storageIds = array_unique($storageIds);
234
235
$query = $db->getQueryBuilder();
236
$query->delete('filecache')
0 commit comments