Changeset 3973 for branches/2.2.0.1
- Timestamp:
- 04/11/11 14:09:50 (13 years ago)
- Location:
- branches/2.2.0.1/calendar
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.0.1/calendar/inc/class.bocalendar.inc.php
r3968 r3973 3473 3473 //Inicializa variï¿œvel de retorno. 3474 3474 $returncode=true; 3475 if(count($mail->to)) { 3475 if(count($mail->to)) { 3476 3477 if(isset($new_event['attachment'])){ 3478 foreach($new_event['attachment'] as $attach){ 3479 $mail->AddAttachment($attach['tmp_name'], $attach['name'], "base64", $attach['type']); 3480 } 3481 } 3476 3482 // Envia aviso a todos os participantes. 3477 3483 if(!$mail->Send()) { -
branches/2.2.0.1/calendar/setup/tables_update.inc.php
r3968 r3973 80 80 return $GLOBALS['setup_info']['calendar']['currentver']; 81 81 } 82 $test[] = '2.2.001'; 83 function calendar_upgrade2_2_001() 84 { 85 $GLOBALS['phpgw_setup']->db->query("ALTER TABLE phpgw_cal ADD COLUMN attachment text"); 86 } 87 88 $test[] = '2.2.002'; 89 function calendar_upgrade2_2_002() 82 $test[] = '2.2.000'; 83 function calendar_upgrade2_2_000() 90 84 { 91 85 $GLOBALS['phpgw_setup']->db->query("ALTER TABLE phpgw_cal ADD COLUMN alter_by varchar(160)"); 92 $GLOBALS['setup_info']['calendar']['currentver'] = '2.2.003'; 86 $GLOBALS['phpgw_setup']->db->query("ALTER TABLE phpgw_cal ADD COLUMN attachment text"); 87 $GLOBALS['setup_info']['calendar']['currentver'] = '2.2.001'; 93 88 return $GLOBALS['setup_info']['calendar']['currentver']; 94 89 }
Note: See TracChangeset
for help on using the changeset viewer.