use correct builder instance

Signed-off-by: blizzz <blizzz@arthur-schiwon.de>

Co-Authored-By: Julius Härtl <jus@bitgrid.net>
pull/16682/head
blizzz 6 years ago committed by Arthur Schiwon
parent f0f0a7b43e
commit ce4f3598ff
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
  1. 2
      apps/workflowengine/lib/Manager.php

@ -401,7 +401,7 @@ class Manager implements IManager, IEntityAware {
if($result) {
$qb = $this->connection->getQueryBuilder();
$result &= (bool)$qb->delete('flow_operations_scope')
->where($qb->expr()->eq('operation_id', $query->createNamedParameter($id)))
->where($qb->expr()->eq('operation_id', $qb->createNamedParameter($id)))
->execute();
}
$this->connection->commit();

Loading…
Cancel
Save