Index: branches/5.0.x/core/install/upgrades.php =================================================================== diff -u -r12117 -r12233 --- branches/5.0.x/core/install/upgrades.php (.../upgrades.php) (revision 12117) +++ branches/5.0.x/core/install/upgrades.php (.../upgrades.php) (revision 12233) @@ -1,6 +1,6 @@ SetDBField('Options', serialize($skin_options)); $skin->Update(); - $skin_eh =& $this->Application->recallObject('skin_EventHandler'); - /* @var $skin_eh SkinEventHandler */ + $skin_helper =& $this->Application->recallObject('SkinHelper'); + /* @var $skin_helper SkinHelper */ - $skin_eh->Compile($skin); + $skin_file = $skin_helper->getSkinPath(); + if (file_exists($skin_file)) { + unlink($skin_file); + } } } }