mirror of
https://github.com/friendica/friendica
synced 2024-11-19 02:23:41 +00:00
fix Admin Theme reload
This commit is contained in:
parent
e8561b480b
commit
7e82f8dc2e
1 changed files with 2 additions and 2 deletions
|
@ -26,8 +26,8 @@ class Index extends BaseAdminModule
|
|||
switch ($_GET['action']) {
|
||||
case 'reload':
|
||||
foreach ($allowed_themes as $theme) {
|
||||
Theme::uninstall($theme['name']);
|
||||
Theme::install($theme['name']);
|
||||
Theme::uninstall($theme);
|
||||
Theme::install($theme);
|
||||
}
|
||||
|
||||
info('Themes reloaded');
|
||||
|
|
Loading…
Reference in a new issue