aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/lib
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-08-09 12:28:59 +0200
committerJulius Härtl <jus@bitgrid.net>2019-09-10 09:01:22 +0200
commite7e9166efe2771b91a0ffdbe96f82284787244b3 (patch)
treedcd0fc8898c24372a42bb19ca7c7620b2a34c634 /apps/workflowengine/lib
parentad976c66fd9a78e6d90224091634b04a25a08f40 (diff)
downloadnextcloud-server-e7e9166efe2771b91a0ffdbe96f82284787244b3.tar.gz
nextcloud-server-e7e9166efe2771b91a0ffdbe96f82284787244b3.zip
Add endpoint to test operations before submitting
Signed-off-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 efe6c387059..07438b2f7cb 100644
--- a/apps/workflowengine/lib/Manager.php
+++ b/apps/workflowengine/lib/Manager.php
@@ -425,7 +425,7 @@ class Manager implements IManager {
* @param string $operation
* @throws \UnexpectedValueException
*/
- protected function validateOperation($class, $name, array $checks, $operation, string $entity, array $events) {
+ public function validateOperation($class, $name, array $checks, $operation, string $entity, array $events) {
try {
/** @var IOperation $instance */
$instance = $this->container->query($class);