Set fileInfo in the rule matcher
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
b3749fbe16
commit
260f0fab4d
|
@ -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…
Reference in New Issue