From 4cd931fcc6bb7f794fd14ddb75c7867823449e79 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Mon, 9 Sep 2019 16:04:12 +0200 Subject: require IChecks to receive entity context Signed-off-by: Arthur Schiwon --- apps/workflowengine/lib/Check/FileSize.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps/workflowengine/lib/Check/FileSize.php') diff --git a/apps/workflowengine/lib/Check/FileSize.php b/apps/workflowengine/lib/Check/FileSize.php index ac1896c6057..2ad4bb09e01 100644 --- a/apps/workflowengine/lib/Check/FileSize.php +++ b/apps/workflowengine/lib/Check/FileSize.php @@ -28,6 +28,7 @@ use OCP\IL10N; use OCP\IRequest; use OCP\Util; use OCP\WorkflowEngine\ICheck; +use OCP\WorkflowEngine\IEntity; class FileSize implements ICheck { @@ -118,4 +119,8 @@ class FileSize implements ICheck { public function isAvailableForScope(int $scope): bool { return true; } + + public function setEntitySubject(IEntity $entity, $subject): void { + // NOOP + } } -- cgit v1.2.3