mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix PHPCS. Rename dump_content to dumpContent.
This commit is contained in:
parent
f114094ffe
commit
fada6a5db3
|
|
@ -323,7 +323,7 @@ if (function_exists("ldap_connect")) {
|
|||
|
||||
print "<br>\n";
|
||||
print "LDAP input file used for test:<br><br>\n";
|
||||
print nl2br($ldap->dump_content($dn, $info));
|
||||
print nl2br($ldap->dumpContent($dn, $info));
|
||||
print "\n<br>";
|
||||
} else {
|
||||
print img_picto('', 'error').' ';
|
||||
|
|
|
|||
|
|
@ -272,7 +272,7 @@ if (function_exists("ldap_connect")) {
|
|||
|
||||
print "<br>\n";
|
||||
print "LDAP input file used for test:<br><br>\n";
|
||||
print nl2br($ldap->dump_content($dn, $info));
|
||||
print nl2br($ldap->dumpContent($dn, $info));
|
||||
print "\n<br>";
|
||||
} else {
|
||||
print img_picto('', 'error').' ';
|
||||
|
|
|
|||
|
|
@ -474,7 +474,7 @@ if (function_exists("ldap_connect")) {
|
|||
|
||||
print "<br>\n";
|
||||
print "LDAP input file used for test:<br><br>\n";
|
||||
print nl2br($ldap->dump_content($dn, $info));
|
||||
print nl2br($ldap->dumpContent($dn, $info));
|
||||
print "\n<br>";
|
||||
} else {
|
||||
print img_picto('', 'error').' ';
|
||||
|
|
|
|||
|
|
@ -235,7 +235,7 @@ if (function_exists("ldap_connect")) {
|
|||
|
||||
print "<br>\n";
|
||||
print "LDAP input file used for test:<br><br>\n";
|
||||
print nl2br($ldap->dump_content($dn, $info));
|
||||
print nl2br($ldap->dumpContent($dn, $info));
|
||||
print "\n<br>";
|
||||
} else {
|
||||
print img_picto('', 'error').' ';
|
||||
|
|
|
|||
|
|
@ -446,7 +446,7 @@ if (function_exists("ldap_connect")) {
|
|||
|
||||
print "<br>\n";
|
||||
print "LDAP input file used for test:<br><br>\n";
|
||||
print nl2br($ldap->dump_content($dn, $info));
|
||||
print nl2br($ldap->dumpContent($dn, $info));
|
||||
print "\n<br>";
|
||||
} else {
|
||||
print img_picto('', 'error').' ';
|
||||
|
|
|
|||
|
|
@ -804,7 +804,6 @@ class Ldap
|
|||
return -1;
|
||||
}
|
||||
|
||||
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
|
||||
/**
|
||||
* Build an LDAP message
|
||||
*
|
||||
|
|
@ -812,9 +811,8 @@ class Ldap
|
|||
* @param array $info Attributes array
|
||||
* @return string Content of file
|
||||
*/
|
||||
public function dump_content($dn, $info)
|
||||
public function dumpContent($dn, $info)
|
||||
{
|
||||
// phpcs:enable
|
||||
$content = '';
|
||||
|
||||
// Create file content
|
||||
|
|
@ -854,7 +852,7 @@ class Ldap
|
|||
global $conf;
|
||||
$ldapDirTemp = $conf->ldap->dir_temp;
|
||||
// Create content
|
||||
$content = $this->dump_content($dn, $info);
|
||||
$content = $this->dumpContent($dn, $info);
|
||||
|
||||
//Create directory & file
|
||||
$result = dol_mkdir($ldapDirTemp);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user