Index: branches/5.1.x/core/units/helpers/themes_helper.php =================================================================== diff -u -N -r13168 -r13182 --- branches/5.1.x/core/units/helpers/themes_helper.php (.../themes_helper.php) (revision 13168) +++ branches/5.1.x/core/units/helpers/themes_helper.php (.../themes_helper.php) (revision 13182) @@ -1,6 +1,6 @@ refreshTheme($filename); if ($theme_id) { $themes_found[] = $theme_id; + // increment serial of updated themes + $this->Application->incrementCacheSerial('theme', $theme_id); } } } @@ -381,6 +383,11 @@ $theme_ids = $this->Conn->GetCol($sql); $this->deleteThemes($theme_ids); + foreach ($theme_ids as $theme_id) { + // increment serial of deleted themes + $this->Application->incrementCacheSerial('theme', $theme_id); + } + $this->Application->incrementCacheSerial('theme'); $this->Application->incrementCacheSerial('theme-file'); }