Skip to content

Commit

Permalink
Clear Cache after update
Browse files Browse the repository at this point in the history
sonvnn committed Jan 3, 2025
1 parent eaaf493 commit bfa14ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions framework/library/astroid/Helper/Overrides.php
Original file line number Diff line number Diff line change
@@ -10,6 +10,7 @@
namespace Astroid\Helper;
use Astroid\Helper;
use Joomla\Filesystem\Folder;
use Joomla\Factory;

defined('_JEXEC') or die;

@@ -154,6 +155,8 @@ public static function rename()
if (file_exists($path_template . '/fonts')) {
Folder::move($path_template . '/fonts', $path_template_media . '/fonts');
}
Helper::clearCacheByTemplate($template);
Factory::getApplication()->enqueueMessage('Astroid Cache Cleared.');
}
}
}

0 comments on commit bfa14ec

Please sign in to comment.