forked from GithubBackups/vichan
Merge pull request #220 from kekukin/patch-1
Fixed uninstall error for themes.
This commit is contained in:
commit
a492e778af
@ -2634,7 +2634,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…
x
Reference in New Issue
Block a user