diff options
author | Bharat Mediratta <bharat@menalto.com> | 2011-04-22 09:29:25 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2011-04-22 09:29:25 -0700 |
commit | deb7db6486988ce3e41b2fffd010487fbb67a91f (patch) | |
tree | 4db4ea7c514991ceabf761bfe495c904fd75b9a7 /modules/gallery/controllers/admin_themes.php | |
parent | 84e4cba00bca52bf3d433ba919b05e3559ab5788 (diff) |
Clear the site status for missing themes when we view this page -- if
something goes wrong we'll just add it back again anyway. Follow-on
for #1655.
Diffstat (limited to 'modules/gallery/controllers/admin_themes.php')
-rw-r--r-- | modules/gallery/controllers/admin_themes.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gallery/controllers/admin_themes.php b/modules/gallery/controllers/admin_themes.php index cd8a5530..9cdc3db5 100644 --- a/modules/gallery/controllers/admin_themes.php +++ b/modules/gallery/controllers/admin_themes.php @@ -25,6 +25,9 @@ class Admin_Themes_Controller extends Admin_Controller { $view->content->admin = module::get_var("gallery", "active_admin_theme"); $view->content->site = module::get_var("gallery", "active_site_theme"); $view->content->themes = $this->_get_themes(); + + site_status::clear("missing_site_theme"); + site_status::clear("missing_admin_theme"); print $view; } |