diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-09-09 16:04:12 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-09-09 22:56:05 +0200 |
commit | 4cd931fcc6bb7f794fd14ddb75c7867823449e79 (patch) | |
tree | 0d2a6d1083dc865407cbe9cd891c977c0e4c9f06 /apps/workflowengine/lib/Check/FileSize.php | |
parent | fd2de58503a3c915cf178385db3e9962845719c4 (diff) | |
download | nextcloud-server-4cd931fcc6bb7f794fd14ddb75c7867823449e79.tar.gz nextcloud-server-4cd931fcc6bb7f794fd14ddb75c7867823449e79.zip |
require IChecks to receive entity context
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/workflowengine/lib/Check/FileSize.php')
-rw-r--r-- | apps/workflowengine/lib/Check/FileSize.php | 5 |
1 files changed, 5 insertions, 0 deletions
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 + } } |