Changeset 5988 for trunk/expressoMail1_2/setup/tables_update.inc.php
- Timestamp:
- 04/20/12 18:13:08 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/setup/tables_update.inc.php
r5982 r5988 196 196 $oProc->query("INSERT INTO expressomail_followupflag(name) VALUES ('Don''t forward');"); 197 197 $oProc->query("INSERT INTO expressomail_followupflag(name) VALUES ('Don''t answer');"); 198 199 /* Seta o valor padrão para a configuração de número máximo de marcadores */ 200 $oProc->query("INSERT INTO phpgw_config(config_app, config_name, config_value) VALUES ('expressoMail1_2', 'expressoMail_limit_labels', 20);"); 198 201 199 202 200 $GLOBALS['setup_info']['expressoMail1_2']['currentver'] = '2.4.1'; … … 254 252 } 255 253 254 $test[] = '2.4.5'; 255 function expressoMail1_2_upgrade2_4_5() { 256 $oProc = $GLOBALS['phpgw_setup']->oProc; 257 /* Seta o valor padrão para a configuração de número máximo de marcadores */ 258 $oProc->query("INSERT INTO phpgw_config(config_app, config_name, config_value) VALUES ('expressoMail1_2', 'expressoMail_limit_labels', 20);"); 259 /* Registra o hook de validação do administrador*/ 260 $oProc->query("INSERT INTO phpgw_hooks( \"hook_appname\", \"hook_location\", \"hook_filename\") VALUES ('expressoMail1_2', 'config_validate', 'hook_config_validate.inc.php')"); 261 262 $GLOBALS['setup_info']['expressoMail1_2']['currentver'] = '2.4.6'; 263 return $GLOBALS['setup_info']['expressoMail1_2']['currentver']; 264 } 265 256 266 ?>
Note: See TracChangeset
for help on using the changeset viewer.