From 792e0af0773d0561684c696d79aa1fafb2a70ecf Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 2 Feb 2011 15:53:45 +0000 Subject: [PATCH] Remove configuration when removing an app --- setup/inc/class.setup.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup/inc/class.setup.inc.php b/setup/inc/class.setup.inc.php index b4df947a8f..84c06f3054 100644 --- a/setup/inc/class.setup.inc.php +++ b/setup/inc/class.setup.inc.php @@ -659,6 +659,8 @@ class setup // Remove categories $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; $this->db->delete($this->applications_table,array('app_name'=>$appname),__LINE__,__FILE__); $this->clear_session_cache();