Changeset 1835 for trunk/phpgwapi/setup/tables_update.inc.php
- Timestamp:
- 12/15/09 10:11:22 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/setup/tables_update.inc.php
r1728 r1835 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']; … … 1684 1676 function phpgwapi_upgrade2_0_001() 1685 1677 { 1678 $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.0.002'; 1679 return $GLOBALS['setup_info']['phpgwapi']['currentver']; 1680 } 1681 $test[] = '2.0.002'; 1682 function phpgwapi_upgrade2_0_002() 1683 { 1686 1684 $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.1.000'; 1687 1685 return $GLOBALS['setup_info']['phpgwapi']['currentver'];
Note: See TracChangeset
for help on using the changeset viewer.