mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 09:23:28 +01:00
Remove an app's categories when removing the app
This commit is contained in:
parent
4e07a37116
commit
18882c57c7
@ -657,6 +657,8 @@ class setup
|
|||||||
}
|
}
|
||||||
$setup_info = $GLOBALS['setup_info'];
|
$setup_info = $GLOBALS['setup_info'];
|
||||||
|
|
||||||
|
// Remove categories
|
||||||
|
$this->db->delete(categories::TABLE, array('cat_appname'=>$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();
|
||||||
|
Loading…
Reference in New Issue
Block a user