Admin - add phpgwai to list of apps excluded when counting entries an account has

This commit is contained in:
nathangray 2019-06-21 09:34:57 -06:00
parent dbf4049ad3
commit 48f57ba4e6

View File

@ -1100,7 +1100,7 @@ class Accounts
$owner_column = Link::get_registry($appname, 'owner'); $owner_column = Link::get_registry($appname, 'owner');
// Try for automatically finding the modification // Try for automatically finding the modification
if(!is_array($owner_column) && !in_array($appname, array('admin', 'api','etemplate'))) if(!is_array($owner_column) && !in_array($appname, array('admin', 'api','etemplate','phpgwapi')))
{ {
$tables = $GLOBALS['egw']->db->get_table_definitions($appname); $tables = $GLOBALS['egw']->db->get_table_definitions($appname);
if(!is_array($tables)) if(!is_array($tables))