This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, Branch_5_3 has been updated
via 5127e3486b997ae55b02ccb6fdc8e7258ebb8581 (commit)
from 73891b99515de3bed57f8c72f91e3480d4a2e39e (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 5127e3486b997ae55b02ccb6fdc8e7258ebb8581
Author: Roland Mas <[email protected]>
Date: Wed May 14 15:20:06 2014 +0200
Log to standard facilities rather than to a file in /tmp
diff --git a/src/plugins/authldap/include/AuthLDAPPlugin.class.php
b/src/plugins/authldap/include/AuthLDAPPlugin.class.php
index 458274c..5f93dab 100644
--- a/src/plugins/authldap/include/AuthLDAPPlugin.class.php
+++ b/src/plugins/authldap/include/AuthLDAPPlugin.class.php
@@ -301,9 +301,8 @@ class AuthLDAPPlugin extends ForgeAuthPlugin {
}
if (forge_get_config('ldap_version', $this->name)) {
- debuglog("LDAP: ldap_set_option ($this->ldap_conn,
LDAP_OPT_PROTOCOL_VERSION, ".forge_get_config('ldap_version',
$this->name).");");
if (!ldap_set_option($conn, LDAP_OPT_PROTOCOL_VERSION,
forge_get_config('ldap_version', $this->name))) {
- debuglog("LDAP: ldap_set_option() failed:
".ldap_error($this->ldap_conn));
+ error_log("LDAP: ldap_set_option() failed:
".ldap_error($this->ldap_conn));
return false;
}
}
@@ -329,12 +328,6 @@ class AuthLDAPPlugin extends ForgeAuthPlugin {
}
}
-function debuglog($msg) {
- $fp = fopen("/tmp/ldap.log", "a+");
- fwrite ($fp, $msg."\n");
- fclose($fp);
-}
-
// Local Variables:
// mode: php
// c-file-style: "bsd"
-----------------------------------------------------------------------
Summary of changes:
src/plugins/authldap/include/AuthLDAPPlugin.class.php | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits