Ignore:
Timestamp:
09/05/07 11:18:58 (17 years ago)
Author:
niltonneto
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoAdmin1_2/inc/class.maillist.inc.php

    r23 r64  
    5555                        $params['members'] = $array_tmp; 
    5656                         
     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                        }                        
    5769                        // 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); 
    6071                        // Incrementa o id no BD. 
    61                         $this->db_functions->increment_id($id,'accounts'); 
     72                        //$this->db_functions->increment_id($id,'accounts'); 
    6273                         
    6374                        // Cria array para incluir no LDAP 
     
    382393                }                                
    383394                 
    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); 
    387398                        return $maillist_info_ldap; 
    388399                } 
    389400 
    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); 
    393404                        return $maillist_info_ldap; 
    394405                } 
Note: See TracChangeset for help on using the changeset viewer.