forked from leftypol/leftypol
Fix minor bug that disallows deletion of themes
This commit is contained in:
parent
a6c4f5a1ec
commit
5ebfb22a5e
1 changed files with 1 additions and 1 deletions
|
@ -3219,7 +3219,7 @@ function mod_theme_uninstall($theme_name) {
|
||||||
|
|
||||||
// Clean cache
|
// Clean cache
|
||||||
Cache::delete("themes");
|
Cache::delete("themes");
|
||||||
Cache::delete("theme_settings_".$theme);
|
Cache::delete("theme_settings_".$theme_name);
|
||||||
|
|
||||||
header('Location: ?/themes', true, $config['redirect_http']);
|
header('Location: ?/themes', true, $config['redirect_http']);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue