diff --git a/phpgwapi/setup/setup.inc.php b/phpgwapi/setup/setup.inc.php index 3c613a86b6..dbe440e88e 100755 --- a/phpgwapi/setup/setup.inc.php +++ b/phpgwapi/setup/setup.inc.php @@ -14,7 +14,7 @@ /* Basic information about this app */ $setup_info['phpgwapi']['name'] = 'phpgwapi'; $setup_info['phpgwapi']['title'] = 'eGroupWare API'; - $setup_info['phpgwapi']['version'] = '1.3.013'; + $setup_info['phpgwapi']['version'] = '1.3.014'; $setup_info['phpgwapi']['versions']['current_header'] = '1.28'; $setup_info['phpgwapi']['enable'] = 3; $setup_info['phpgwapi']['app_order'] = 1; @@ -59,12 +59,4 @@ $setup_info['notifywindow']['enable'] = 2; $setup_info['notifywindow']['app_order'] = 1; $setup_info['notifywindow']['tables'] = ''; - $setup_info['notifywindow']['hooks'][] = 'home'; - - - - - - - - + $setup_info['notifywindow']['hooks'][] = 'home'; \ No newline at end of file diff --git a/phpgwapi/setup/tables_current.inc.php b/phpgwapi/setup/tables_current.inc.php index 6b4dd49a2b..b38f38c131 100644 --- a/phpgwapi/setup/tables_current.inc.php +++ b/phpgwapi/setup/tables_current.inc.php @@ -451,7 +451,7 @@ 'contact_tid' => array('type' => 'char','precision' => '1','default' => 'n'), 'contact_owner' => array('type' => 'int','precision' => '8','nullable' => False), 'contact_private' => array('type' => 'int','precision' => '1','default' => '0'), - 'cat_id' => array('type' => 'varchar','precision' => '32'), + 'cat_id' => array('type' => 'varchar','precision' => '255'), 'n_family' => array('type' => 'varchar','precision' => '64'), 'n_given' => array('type' => 'varchar','precision' => '64'), 'n_middle' => array('type' => 'varchar','precision' => '64'), diff --git a/phpgwapi/setup/tables_update.inc.php b/phpgwapi/setup/tables_update.inc.php index 90d27e1fea..6b1a3c04e6 100644 --- a/phpgwapi/setup/tables_update.inc.php +++ b/phpgwapi/setup/tables_update.inc.php @@ -667,3 +667,15 @@ return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.3.013'; } + + $test[] = '1.3.013'; + function phpgwapi_upgrade1_3_013() + { + $GLOBALS['egw_setup']->oProc->AlterColumn('egw_addressbook','cat_id',array( + 'type' => 'varchar', + 'precision' => '255' + )); + + return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.3.014'; + } +?>