Browse Source
Merge pull request #190 from dedushka1/theme-deletion-bug
Fix minor bug that disallows deletion of themes
pull/40/head
nonmakina
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
inc/mod/pages.php
|
|
@ -3219,7 +3219,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']); |
|
|
|
} |
|
|
|