mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
do NOT remove config, if deinstalling old phpgwapi, as that's global api config
This commit is contained in:
parent
9c1249cd9a
commit
f5f05d4262
@ -627,8 +627,11 @@ class setup
|
|||||||
$this->db->delete(Api\Categories::TABLE, array('cat_appname'=>$appname),__LINE__,__FILE__);
|
$this->db->delete(Api\Categories::TABLE, array('cat_appname'=>$appname),__LINE__,__FILE__);
|
||||||
Api\Categories::invalidate_cache($appname);
|
Api\Categories::invalidate_cache($appname);
|
||||||
|
|
||||||
// Remove config
|
// Remove config, if we are not deinstalling old phpgwapi (as that's global api config!)
|
||||||
|
if ($appname != 'phpgwapi')
|
||||||
|
{
|
||||||
$this->db->delete(Api\Config::TABLE, array('config_app'=>$appname),__LINE__,__FILE__);
|
$this->db->delete(Api\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__);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user