Changeset 2514 for sandbox/jabberit_messenger/trophy_expresso/inc
- Timestamp:
- 04/14/10 09:45:06 (14 years ago)
- Location:
- sandbox/jabberit_messenger/trophy_expresso/inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/jabberit_messenger/trophy_expresso/inc/WebService.php
r2511 r2514 27 27 $uid = substr($pUid, 0, strpos($pUid, "/")); 28 28 29 $photo = $ldap->getPhotoUser($uid, true); 30 31 if ( !$photo ) 32 $photo = $ldap->getPhotoUser($uid, false); 29 $photo = $ldap->getPhotoUser($uid ); 33 30 34 31 if( $photo ) -
sandbox/jabberit_messenger/trophy_expresso/inc/class.LdapIM.inc.php
r2511 r2514 303 303 } 304 304 305 public final function getPhotoUser( $_uid, $ldapRoot ) 306 { 307 305 public final function getPhotoUser( $_uid ) 306 { 308 307 $uid = substr($_uid, 0, strpos($_uid, "@")); 309 308 $host = substr($_uid, (strpos($_uid, "@") + 1)); 310 309 311 if( $ldapRoot ) 312 { 313 $this->ldapRoot(); 314 } 315 else 310 if( count($this->hostsJabber) ) 316 311 { 317 312 $confHosts = $this->hostsJabber; … … 328 323 $this->ldap = $this->ldapCatalog(); 329 324 } 330 } 325 } 326 327 if( !$this->ldap ) 328 $this->ldapRoot(); 329 } 330 else 331 { 332 $this->ldapRoot(); 331 333 } 332 334
Note: See TracChangeset
for help on using the changeset viewer.