Changeset 1882 for branches/2.0
- Timestamp:
- 12/22/09 13:23:02 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/phpgwapi/setup/tables_update.inc.php
r1672 r1882 1614 1614 function phpgwapi_upgrade1_0_0_003() 1615 1615 { 1616 // removing the ACL entries of deleted accounts1617 $GLOBALS['phpgw_setup']->setup_account_object();1618 if (($all_accounts = $GLOBALS['phpgw']->accounts->search(array('type'=>'both'))))1619 {1620 $all_accounts = array_keys($all_accounts);1621 $GLOBALS['phpgw_setup']->oProc->query("DELETE FROM phpgw_acl WHERE acl_account NOT IN (".implode(',',$all_accounts).")",__LINE__,__FILE__);1622 $GLOBALS['phpgw_setup']->oProc->query("DELETE FROM phpgw_acl WHERE acl_appname='phpgw_group' AND acl_location NOT IN ('".implode("','",$all_accounts)."')",__LINE__,__FILE__);1623 }1624 1616 $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.0.0.004'; 1625 1617 return $GLOBALS['setup_info']['phpgwapi']['currentver'];
Note: See TracChangeset
for help on using the changeset viewer.