mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
expose user of running flows
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
7210852f07
commit
7a7a415fdc
1 changed files with 2 additions and 0 deletions
|
|
@ -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')));
|
||||
|
|
|
|||
Loading…
Reference in a new issue