Use proper andwhere clause
Fixes #19248 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
411058e47c
commit
e0715d704e
|
@ -600,7 +600,7 @@ class FederatedShareProvider implements IShareProvider {
|
|||
$qb = $this->dbConnection->getQueryBuilder();
|
||||
$qb->delete('share')
|
||||
->where($qb->expr()->eq('id', $qb->createNamedParameter($shareId)))
|
||||
->where($qb->expr()->neq('share_type', $qb->createNamedParameter(IShare::TYPE_CIRCLE)));
|
||||
->andWhere($qb->expr()->neq('share_type', $qb->createNamedParameter(IShare::TYPE_CIRCLE)));
|
||||
$qb->execute();
|
||||
|
||||
$qb->delete('federated_reshares')
|
||||
|
|
Loading…
Reference in New Issue