aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/lib/Check/RequestTime.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2019-09-05 15:52:11 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2019-09-09 22:56:04 +0200
commitc2a52813e2cfadc43b096927ee9d9db3d9ac5c84 (patch)
treefffa2234b146bd5fbda576ad1a73b7b01575de4f /apps/workflowengine/lib/Check/RequestTime.php
parentd2c8b939d58239a99163445b83d80873932a5514 (diff)
downloadnextcloud-server-c2a52813e2cfadc43b096927ee9d9db3d9ac5c84.tar.gz
nextcloud-server-c2a52813e2cfadc43b096927ee9d9db3d9ac5c84.zip
extends ICheck with scope and entity support, provide them as initialState
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/workflowengine/lib/Check/RequestTime.php')
-rw-r--r--apps/workflowengine/lib/Check/RequestTime.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/workflowengine/lib/Check/RequestTime.php b/apps/workflowengine/lib/Check/RequestTime.php
index 2aa79e77673..0f5322b4759 100644
--- a/apps/workflowengine/lib/Check/RequestTime.php
+++ b/apps/workflowengine/lib/Check/RequestTime.php
@@ -126,4 +126,8 @@ class RequestTime implements ICheck {
throw new \UnexpectedValueException($this->l->t('The given end time is invalid'), 4);
}
}
+
+ public function isAvailableForScope(int $scope): bool {
+ return true;
+ }
}