Changeset 5163 in subversion
- Timestamp:
- Sep 5, 2011 4:06:52 AM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/new_user_identity/new_user_identity.php
r4929 r5163 7 7 * This plugin requires that a working public_ldap directory be configured. 8 8 * 9 * @version 1.0 29 * @version 1.05 10 10 * @author Kris Steinhoff 11 11 * … … 40 40 $rcmail = rcmail::get_instance(); 41 41 42 if ($this->init_ldap( )) {42 if ($this->init_ldap($args['host'])) { 43 43 $results = $this->ldap->search('*', $args['user'], TRUE); 44 44 if (count($results->records) == 1) { … … 55 55 } 56 56 57 private function init_ldap( )57 private function init_ldap($host) 58 58 { 59 59 if ($this->ldap) … … 73 73 $ldap_config[$addressbook], 74 74 $rcmail->config->get('ldap_debug'), 75 $rcmail->config->mail_domain($ _SESSION['imap_host']),75 $rcmail->config->mail_domain($host), 76 76 $match); 77 77 … … 82 82 class new_user_identity_ldap_backend extends rcube_ldap 83 83 { 84 function __construct($p, $debug =false, $mail_domain=NULL, $search=null)84 function __construct($p, $debug, $mail_domain, $search) 85 85 { 86 86 parent::__construct($p, $debug, $mail_domain);
Note: See TracChangeset
for help on using the changeset viewer.
