summaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/lib
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2019-08-29 12:41:51 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2019-09-09 22:56:03 +0200
commitce4f3598ff4b3787863c024230ea893b7f8a4c86 (patch)
tree4edc553b87a9d9cc37859e63108b736331b6cce6 /apps/workflowengine/lib
parentf0f0a7b43ebc4584f5dd6c0473a57eafbaa190d1 (diff)
downloadnextcloud-server-ce4f3598ff4b3787863c024230ea893b7f8a4c86.tar.gz
nextcloud-server-ce4f3598ff4b3787863c024230ea893b7f8a4c86.zip
use correct builder instance
Signed-off-by: blizzz <blizzz@arthur-schiwon.de> Co-Authored-By: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/workflowengine/lib')
-rw-r--r--apps/workflowengine/lib/Manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/workflowengine/lib/Manager.php b/apps/workflowengine/lib/Manager.php
index f19aa46d4ab..7ca24a754dc 100644
--- a/apps/workflowengine/lib/Manager.php
+++ b/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();