mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-12 01:50:48 +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