Code Duplication    Length = 9-10 lines in 3 locations

infolog/setup/tables_update.inc.php 2 locations

@@ 708-717 (lines=10) @@
705
}
706
707
708
function infolog_upgrade1_9_003()
709
{
710
	$GLOBALS['egw_setup']->oProc->AlterColumn('egw_infolog','caldav_name',array(
711
		'type' => 'varchar',
712
		'precision' => '200',
713
		'comment' => 'name part of CalDAV URL, if specified by client'
714
	));
715
716
	return $GLOBALS['setup_info']['infolog']['currentver'] = '1.9.004';
717
}
718
719
720
/**
@@ 813-821 (lines=9) @@
810
 *
811
 * @return string
812
 */
813
function infolog_upgrade16_1()
814
{
815
	$GLOBALS['egw_setup']->oProc->AlterColumn('egw_infolog','info_des',array(
816
		'type' => 'longtext',
817
		'comment' => 'desciption of the infolog-entry'
818
	));
819
820
	return $GLOBALS['setup_info']['infolog']['currentver'] = '16.1.001';
821
}
822

api/setup/tables_update.inc.php 1 location

@@ 211-220 (lines=10) @@
208
 *
209
 * @return string
210
 */
211
function api_upgrade16_9()
212
{
213
	$GLOBALS['egw_setup']->oProc->AlterColumn('egw_ea_credentials','cred_password',array(
214
		'type' => 'varchar',
215
		'precision' => '9600',
216
		'comment' => 'password encrypted'
217
	));
218
219
	return $GLOBALS['setup_info']['api']['currentver'] = '16.9.001';
220
}
221
222
function api_upgrade16_9_001()
223
{