Fix minor bug that disallows deletion of themes
This commit is contained in:
parent
a4607fa6e6
commit
f74d2a2fdc
|
@ -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…
Reference in New Issue