Set fileInfo in the rule matcher

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2019-11-28 13:14:32 +01:00 committed by Arthur Schiwon
parent b3749fbe16
commit 260f0fab4d
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 1 additions and 0 deletions

View File

@ -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
}