diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-10-15 20:20:06 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-10-29 18:03:56 +0100 |
commit | 8a0164b6b967d44a2c5e0a9a398497ef77465c05 (patch) | |
tree | 724a555c08fa99f7f0593b4a4acd28ec4e2ba97b /apps/workflowengine | |
parent | 928cf4bfcc2da4d12b2be915f6b77c1ea132cd2d (diff) | |
download | nextcloud-server-8a0164b6b967d44a2c5e0a9a398497ef77465c05.tar.gz nextcloud-server-8a0164b6b967d44a2c5e0a9a398497ef77465c05.zip |
Adjust user UserWorkflowController methods to AWorflowController
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/workflowengine')
-rw-r--r-- | apps/workflowengine/lib/Controller/UserWorkflowsController.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/workflowengine/lib/Controller/UserWorkflowsController.php b/apps/workflowengine/lib/Controller/UserWorkflowsController.php index 179e6b1ad11..3e907d22696 100644 --- a/apps/workflowengine/lib/Controller/UserWorkflowsController.php +++ b/apps/workflowengine/lib/Controller/UserWorkflowsController.php @@ -79,8 +79,8 @@ class UserWorkflowsController extends AWorkflowController { * @throws OCSBadRequestException * @throws OCSForbiddenException */ - public function create(string $class, string $name, array $checks, string $operation): DataResponse { - return parent::create($class, $name, $checks, $operation); + public function create(string $class, string $name, array $checks, string $operation, string $entity, array $events): DataResponse { + return parent::create($class, $name, $checks, $operation, $entity, $events); } /** @@ -88,8 +88,8 @@ class UserWorkflowsController extends AWorkflowController { * @throws OCSBadRequestException * @throws OCSForbiddenException */ - public function update(int $id, string $name, array $checks, string $operation): DataResponse { - return parent::update($id, $name, $checks, $operation); + public function update(int $id, string $name, array $checks, string $operation, string $entity, array $events): DataResponse { + return parent::update($id, $name, $checks, $operation, $entity, $events); } /** |