- Affected version
- 2.3.13
StyleProperty\RebuildService::rebuildPropertyStyleCacheForStyle() fetches all style properties before determining which styles it needs to rebuild
PHP:
\XF::runOnce('stylePropertyCacheRebuild' . $this->style_id, function ()
{
$this->getPropertyRebuildService()->rebuildPropertyStyleCacheForStyle($this->style_id);
});
PHP:
$properties = $this->finder(StylePropertyFinder::class)
->order(['style_id', 'property_name'])
->fetch();
$byStyle = [];
foreach ($properties AS $property)
{
$byStyle[$property->style_id][$property->property_name] = $property;
}