Merge pull request from vichan-devel/vichan#220 from kekukin/patch-1 Fixed uninstall error for themes.

This commit is contained in:
Benjamin Southall 2017-06-08 08:09:10 +09:00
parent 986efe8980
commit 13f856189b

View File

@ -3073,7 +3073,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']);
}