Changeset 64 for trunk/expressoAdmin1_2/inc/class.maillist.inc.php
- Timestamp:
- 09/05/07 11:18:58 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoAdmin1_2/inc/class.maillist.inc.php
r23 r64 55 55 $params['members'] = $array_tmp; 56 56 57 // Leio o ID a ser usado na criação do objecto. 58 $next_id = ($this->db_functions->get_next_id('accounts')); 59 if ((!is_numeric($next_id['id'])) || (!$next_id['status'])) 60 { 61 $return['status'] = false; 62 $return['msg'] = "Problemas obtendo ID do usuário.\n" . $id['msg']; 63 return $return; 64 } 65 else 66 { 67 $id = $next_id['id']; 68 } 57 69 // Pega ID do BD e incrementa de 1. 58 $id = (($this->db_functions->get_next_id()) + 1); 59 70 //$id = (($this->db_functions->get_next_id()) + 1); 60 71 // Incrementa o id no BD. 61 $this->db_functions->increment_id($id,'accounts');72 //$this->db_functions->increment_id($id,'accounts'); 62 73 63 74 // Cria array para incluir no LDAP … … 382 393 } 383 394 384 function get_info($uidnumber , $context)385 { 386 $maillist_info_ldap = $this->ldap_functions->get_maillist_info($uidnumber , $context);395 function get_info($uidnumber) 396 { 397 $maillist_info_ldap = $this->ldap_functions->get_maillist_info($uidnumber); 387 398 return $maillist_info_ldap; 388 399 } 389 400 390 function get_scl_info($uidnumber , $context)391 { 392 $maillist_info_ldap = $this->ldap_functions->get_maillist_scl_info($uidnumber , $context);401 function get_scl_info($uidnumber) 402 { 403 $maillist_info_ldap = $this->ldap_functions->get_maillist_scl_info($uidnumber); 393 404 return $maillist_info_ldap; 394 405 }
Note: See TracChangeset
for help on using the changeset viewer.