mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-27 17:00:52 +01:00
Fixed uninstall error for themes.
Was receiving uninstall errors: undefined index: theme
This commit is contained in:
parent
f139b34c4a
commit
57732bdff5
@ -2634,7 +2634,7 @@ function mod_theme_uninstall($theme_name) {
|
||||
|
||||
// Clean cache
|
||||
Cache::delete("themes");
|
||||
Cache::delete("theme_settings_".$theme);
|
||||
Cache::delete("theme_settings_".$theme_name);
|
||||
|
||||
header('Location: ?/themes', true, $config['redirect_http']);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user