aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/lib/Check/AbstractStringCheck.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2019-09-09 16:53:59 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2019-09-09 22:56:05 +0200
commit849d025d093d1c80d3820901d20bf6a664c6af02 (patch)
tree5abb7efdee81ac197dac61dd860f6b4c8becaf51 /apps/workflowengine/lib/Check/AbstractStringCheck.php
parent4cd931fcc6bb7f794fd14ddb75c7867823449e79 (diff)
downloadnextcloud-server-849d025d093d1c80d3820901d20bf6a664c6af02.tar.gz
nextcloud-server-849d025d093d1c80d3820901d20bf6a664c6af02.zip
let a dedicate service serve a stateful process
* includes making ICheck not requiring any context setter * and IFileCheck extending the IEntityCheck as entity data can be handed in via Dispatcher Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/workflowengine/lib/Check/AbstractStringCheck.php')
-rw-r--r--apps/workflowengine/lib/Check/AbstractStringCheck.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/apps/workflowengine/lib/Check/AbstractStringCheck.php b/apps/workflowengine/lib/Check/AbstractStringCheck.php
index ec9a1945d9c..e86ac6bec17 100644
--- a/apps/workflowengine/lib/Check/AbstractStringCheck.php
+++ b/apps/workflowengine/lib/Check/AbstractStringCheck.php
@@ -24,7 +24,6 @@ namespace OCA\WorkflowEngine\Check;
use OCP\IL10N;
use OCP\WorkflowEngine\ICheck;
-use OCP\WorkflowEngine\IEntity;
use OCP\WorkflowEngine\IManager;
abstract class AbstractStringCheck implements ICheck {
@@ -121,8 +120,4 @@ abstract class AbstractStringCheck implements ICheck {
$this->matches[$patternHash][$subjectHash] = preg_match($pattern, $subject);
return $this->matches[$patternHash][$subjectHash];
}
-
- public function setEntitySubject(IEntity $entity, $subject): void {
- // Noop
- }
}