Remove configuration when removing an app

This commit is contained in:
Nathan Gray 2011-02-02 15:53:45 +00:00
parent 18882c57c7
commit 792e0af077

View File

@ -659,6 +659,8 @@ class setup
// Remove categories // Remove categories
$this->db->delete(categories::TABLE, array('cat_appname'=>$appname),__LINE__,__FILE__); $this->db->delete(categories::TABLE, array('cat_appname'=>$appname),__LINE__,__FILE__);
// Remove config
$this->db->delete(config::TABLE, array('config_app'=>$appname),__LINE__,__FILE__);
//echo 'DELETING application: ' . $appname; //echo 'DELETING application: ' . $appname;
$this->db->delete($this->applications_table,array('app_name'=>$appname),__LINE__,__FILE__); $this->db->delete($this->applications_table,array('app_name'=>$appname),__LINE__,__FILE__);
$this->clear_session_cache(); $this->clear_session_cache();