mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #35524 from nextcloud/backport/35502/stable24
[stable24] Fix SQL comparison with int array during external storage deletion
This commit is contained in:
commit
488d10b6fc
1 changed files with 1 additions and 1 deletions
|
|
@ -239,7 +239,7 @@ class Storage {
|
|||
|
||||
$query = $db->getQueryBuilder();
|
||||
$query->delete('storages')
|
||||
->where($query->expr()->eq('numeric_id', $query->createNamedParameter($storageIds, IQueryBuilder::PARAM_INT_ARRAY)));
|
||||
->where($query->expr()->in('numeric_id', $query->createNamedParameter($storageIds, IQueryBuilder::PARAM_INT_ARRAY)));
|
||||
$query->executeStatement();
|
||||
|
||||
$query = $db->getQueryBuilder();
|
||||
|
|
|
|||
Loading…
Reference in a new issue