From: <gi...@ma...> - 2009-11-01 23:02:37
|
The branch, master-1.2.x has been updated via c8666c4f8e0d6cd2fee4e06879896c62a9685195 (commit) from e27add14d21a6851d15ff500839bd93419f11479 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit c8666c4f8e0d6cd2fee4e06879896c62a9685195 Author: Robert Munteanu <rob...@gm...> Date: Mon Nov 2 01:02:11 2009 +0200 Issue #11100: Don't read the ldap simulation file if it is not set ----------------------------------------------------------------------- Summary of changes: core/ldap_api.php | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) ----------------------------------------------------------------------- commit c8666c4f8e0d6cd2fee4e06879896c62a9685195 Author: Robert Munteanu <rob...@gm...> Date: Mon Nov 2 01:02:11 2009 +0200 Issue #11100: Don't read the ldap simulation file if it is not set diff --git a/core/ldap_api.php b/core/ldap_api.php index 5d737e2..3748ca8 100644 --- a/core/ldap_api.php +++ b/core/ldap_api.php @@ -393,6 +393,9 @@ function ldap_simulation_is_enabled() { */ function ldap_simulation_get_user( $p_username ) { $t_filename = config_get( 'ldap_simulation_file_path' ); + if ( !is_blank( $t_filename ) ) { + return null; + } $t_lines = file( $t_filename ); if ( $t_lines === false ) { ----------------------------------------------------------------------- -- Mantis Bug Tracker |