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.
This commit is contained in:
Bharat Mediratta
2011-04-22 09:29:25 -07:00
parent 84e4cba00b
commit deb7db6486

View File

@@ -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;
}