diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-11-28 13:14:32 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-11-28 13:51:21 +0100 |
commit | 260f0fab4d76b75c707962337c6501af1d7d5f7d (patch) | |
tree | 88252f60c3a21127c76563319a4c93e39a4057e7 /apps/workflowengine/lib | |
parent | b3749fbe1690edd64f16337ba01f381f2cf6176b (diff) | |
download | nextcloud-server-260f0fab4d76b75c707962337c6501af1d7d5f7d.tar.gz nextcloud-server-260f0fab4d76b75c707962337c6501af1d7d5f7d.zip |
Set fileInfo in the rule matcher
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/workflowengine/lib')
-rw-r--r-- | apps/workflowengine/lib/Entity/File.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/workflowengine/lib/Entity/File.php b/apps/workflowengine/lib/Entity/File.php index 4a01535ce0e..9c44a383d6c 100644 --- a/apps/workflowengine/lib/Entity/File.php +++ b/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 } |