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 {
|
try {
|
||||||
$node = $this->getNode();
|
$node = $this->getNode();
|
||||||
$ruleMatcher->setEntitySubject($this, $node);
|
$ruleMatcher->setEntitySubject($this, $node);
|
||||||
|
$ruleMatcher->setFileInfo($node->getStorage(), $node->getPath());
|
||||||
} catch (NotFoundException $e) {
|
} catch (NotFoundException $e) {
|
||||||
// pass
|
// pass
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue