diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-11-27 16:03:31 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-11-28 13:51:20 +0100 |
commit | 7a7a415fdc81b36a27b8a379e83f7f334c8194e6 (patch) | |
tree | d858bc21d0adf5e20fee1e5e4a8a0ad83a7607c9 /apps/workflowengine | |
parent | 7210852f075085ab2d678f9554125dedc7e3a310 (diff) | |
download | nextcloud-server-7a7a415fdc81b36a27b8a379e83f7f334c8194e6.tar.gz nextcloud-server-7a7a415fdc81b36a27b8a379e83f7f334c8194e6.zip |
expose user of running flows
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/workflowengine')
-rw-r--r-- | apps/workflowengine/lib/Manager.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/workflowengine/lib/Manager.php b/apps/workflowengine/lib/Manager.php index b84ae57c2c7..f97d77f5983 100644 --- a/apps/workflowengine/lib/Manager.php +++ b/apps/workflowengine/lib/Manager.php @@ -186,6 +186,8 @@ class Manager implements IManager { $query = $this->connection->getQueryBuilder(); $query->select('o.*') + ->selectAlias('s.type', 'scope_type') + ->selectAlias('s.value', 'scope_actor_id') ->from('flow_operations', 'o') ->leftJoin('o', 'flow_operations_scope', 's', $query->expr()->eq('o.id', 's.operation_id')) ->where($query->expr()->eq('s.type', $query->createParameter('scope'))); |