Set fileInfo in the rule matcher

Signed-off-by: Julius Härtl <jus@bitgrid.net>
pull/18134/head
Julius Härtl 7 years ago committed by Arthur Schiwon
parent b3749fbe16
commit 260f0fab4d
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
  1. 1
      apps/workflowengine/lib/Entity/File.php

@ -113,6 +113,7 @@ class File implements IEntity, IDisplayText {
try {
$node = $this->getNode();
$ruleMatcher->setEntitySubject($this, $node);
$ruleMatcher->setFileInfo($node->getStorage(), $node->getPath());
} catch (NotFoundException $e) {
// pass
}

Loading…
Cancel
Save