Permalink
Browse files

Clear cache on plugin activation/deactivation

  • Loading branch information...
1 parent 3223bcd commit fff41c6e2e1766d82546721f2edaddc15ab620d0 @ginatrapani ginatrapani committed Jan 27, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 webapp/_lib/controller/class.ToggleActivePluginController.php
@@ -56,6 +56,7 @@ public function adminControl(){
$is_active = ($_GET["a"] != 1)?false:true;
$plugin_dao = DAOFactory::getDAO('PluginDAO');
$this->addToView('result', $plugin_dao->setActive($_GET["pid"], $is_active));
+ $this->view_mgr->clear_all_cache();
}
return $this->generateView();
}

0 comments on commit fff41c6

Please sign in to comment.