diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-01-07 19:55:02 +0300 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2022-01-14 17:16:06 +0300 |
commit | 27334942cac5d16818402c8213e4462b378a8e46 (patch) | |
tree | dfb88c401b06ca6b6ae83606c4078b1b64cb204b /apps | |
parent | a8539c808414dc09b202991bb977573f25e86611 (diff) |
The storage is not static anymore
Don't call twice $cache->getId
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/workflowengine/lib/Check/FileSystemTags.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/workflowengine/lib/Check/FileSystemTags.php b/apps/workflowengine/lib/Check/FileSystemTags.php index a19fe106f7d..eafd4e97b40 100644 --- a/apps/workflowengine/lib/Check/FileSystemTags.php +++ b/apps/workflowengine/lib/Check/FileSystemTags.php @@ -152,7 +152,7 @@ class FileSystemTags implements ICheck, IFileCheck { $fileId = $cache->getId($path); if ($fileId !== -1) { - $parentIds[] = $cache->getId($path); + $parentIds[] = $fileId; } $this->fileIds[$cacheId][$path] = $parentIds; |