Merge pull request from vichan-devel/vichan#220 from kekukin/patch-1 Fixed uninstall error for themes.
This commit is contained in:
parent
986efe8980
commit
13f856189b
@ -3073,7 +3073,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
Block a user