From ff84561c98f15350750627b438f9b47aa0ea7f5d Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 13 Aug 2004 20:36:28 +0000 Subject: [PATCH] removed unnecessary RefreshTable --- calendar/setup/tables_update.inc.php | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/calendar/setup/tables_update.inc.php b/calendar/setup/tables_update.inc.php index 2058b008f0..b7ecabf053 100644 --- a/calendar/setup/tables_update.inc.php +++ b/calendar/setup/tables_update.inc.php @@ -1105,22 +1105,6 @@ $GLOBALS['phpgw_setup']->oProc->RenameColumn('phpgw_cal_holidays','occurence','hol_occurence'); $GLOBALS['phpgw_setup']->oProc->RenameColumn('phpgw_cal_holidays','dow','hol_dow'); $GLOBALS['phpgw_setup']->oProc->RenameColumn('phpgw_cal_holidays','observance_rule','hol_observance_rule'); - $GLOBALS['phpgw_setup']->oProc->RefreshTable('phpgw_cal_holidays',array( - 'fd' => array( - 'hol_id' => array('type' => 'auto','nullable' => False), - 'hol_locale' => array('type' => 'char','precision' => '2','nullable' => False), - 'hol_name' => array('type' => 'varchar','precision' => '50','nullable' => False), - 'hol_mday' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'), - 'hol_month_num' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'), - 'hol_occurence' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'), - 'hol_dow' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'), - 'hol_observance_rule' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0') - ), - 'pk' => array('hol_id'), - 'fk' => array(), - 'ix' => array('hol_locale'), - 'uc' => array() - )); $GLOBALS['setup_info']['calendar']['currentver'] = '1.0.0.002'; return $GLOBALS['setup_info']['calendar']['currentver']; @@ -1132,18 +1116,6 @@ { $GLOBALS['phpgw_setup']->oProc->RenameColumn('phpgw_cal_user','cal_login','cal_user_id'); $GLOBALS['phpgw_setup']->oProc->RenameColumn('phpgw_cal_user','cal_type','cal_user_type'); - $GLOBALS['phpgw_setup']->oProc->RefreshTable('phpgw_cal_user',array( - 'fd' => array( - 'cal_id' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'), - 'cal_user_id' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '0'), - 'cal_status' => array('type' => 'char','precision' => '1','default' => 'A'), - 'cal_user_type' => array('type' => 'varchar','precision' => '1','nullable' => False,'default' => 'u') - ), - 'pk' => array('cal_id','cal_user_id','cal_user_type'), - 'fk' => array(), - 'ix' => array(), - 'uc' => array() - )); $GLOBALS['setup_info']['calendar']['currentver'] = '1.0.0.003'; return $GLOBALS['setup_info']['calendar']['currentver'];