Changeset 6512 for sandbox/2.4.1-3/expressoMail1_2/inc
- Timestamp:
- 06/15/12 09:17:48 (12 years ago)
- Location:
- sandbox/2.4.1-3/expressoMail1_2/inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.4.1-3/expressoMail1_2/inc/class.db_functions.inc.php
r6105 r6512 24 24 include_once(PHPGW_API_INC.'/class.db.inc.php'); 25 25 } 26 include_once('class.dynamic_contacts.inc.php');27 26 28 27 class db_functions … … 249 248 250 249 //Gera lista de contatos para ser gravado e acessado pelo expresso offline. 251 function get_dropdown_contacts_to_cache() {250 /*function get_dropdown_contacts_to_cache() { 252 251 return $this->get_dropdown_contacts(); 253 252 } … … 275 274 } 276 275 return $stringDropDownContacts; 277 } 276 }*/ 278 277 function getUserByEmail($params){ 279 278 // Follow the referral … … 308 307 return $result; 309 308 } 310 309 /* 311 310 function get_dynamic_contacts() 312 311 { … … 333 332 return $contacts; 334 333 } 334 */ 335 /* 335 336 function update_contacts($contacts=array()) 336 337 { … … 364 365 } 365 366 return $contacts; 366 } 367 } */ 368 367 369 function update_preferences($params){ 368 370 $string_serial = urldecode($params['prefe_string']); … … 377 379 } 378 380 381 /* 379 382 function insert_contact($contact) 380 383 { … … 396 399 $this->db->delete('phpgw_expressomail_contacts',$where,$line,$file); 397 400 } 398 401 */ 399 402 function import_vcard($params){ 400 403 include_once('class.imap_functions.inc.php'); -
sandbox/2.4.1-3/expressoMail1_2/inc/class.imap_functions.inc.php
r6212 r6512 3108 3108 error_log("$now - $userip - $sent [$subject] - $userid => $addrs\r\n", 3, "/home/expressolivre/mail_senders.log"); 3109 3109 } 3110 if ($_SESSION['phpgw_info']['user']['preferences']['expressoMail']['use_dynamic_contacts']) { 3111 $contacts = new dynamic_contacts(); 3112 $new_contacts = $contacts->add_dynamic_contacts($toaddress . "," . $ccaddress . "," . $ccoaddress); 3113 return array("success" => true, "new_contacts" => $new_contacts); 3114 } 3115 3116 if($params['uids_save'] ) 3117 $this->delete_msgs(array('folder'=> $params['save_folder'] , 'msgs_number' => $params['uids_save'])); 3110 if($params['uids_save'] ) 3111 $this->delete_msgs(array('folder'=> $params['save_folder'] , 'msgs_number' => $params['uids_save'])); 3118 3112 3119 3120 3113 //return array("success" => true, "folder" => $folder_list); 3121 3114 return array("success" => true, "load" => $has_new_folder);
Note: See TracChangeset
for help on using the changeset viewer.