forked from Wavyzz/dolibarr
Fix: Removed duplicate lines
This commit is contained in:
@@ -95,8 +95,6 @@ $required_fields=array_unique(array_values(array_filter($required_fields, "dolVa
|
||||
|
||||
if ($argv[3]) $conf->global->LDAP_SERVER_HOST=$argv[2];
|
||||
|
||||
print "***** $script_file ($version) *****\n";
|
||||
|
||||
if (! isset($argv[2]) || ! is_numeric($argv[2])) {
|
||||
print "Usage: $script_file (nocommitiferror|commitiferror) id_member_type [ldapserverhost]\n";
|
||||
exit(-1);
|
||||
|
||||
@@ -72,8 +72,6 @@ $required_fields=array_unique(array_values(array_filter($required_fields, "dolVa
|
||||
|
||||
if ($argv[2]) $conf->global->LDAP_SERVER_HOST=$argv[2];
|
||||
|
||||
print "***** $script_file ($version) *****\n";
|
||||
|
||||
if (! isset($argv[1])) {
|
||||
//print "Usage: $script_file (nocommitiferror|commitiferror) [id_group]\n";
|
||||
print "Usage: $script_file (nocommitiferror|commitiferror) [ldapserverhost]\n";
|
||||
|
||||
@@ -85,8 +85,6 @@ $required_fields=array_unique(array_values(array_filter($required_fields, "dolVa
|
||||
|
||||
if ($argv[2]) $conf->global->LDAP_SERVER_HOST=$argv[2];
|
||||
|
||||
print "***** $script_file ($version) *****\n";
|
||||
|
||||
if (! isset($argv[1])) {
|
||||
//print "Usage: $script_file (nocommitiferror|commitiferror) [id_group]\n";
|
||||
print "Usage: $script_file (nocommitiferror|commitiferror) [ldapserverhost]\n";
|
||||
|
||||
Reference in New Issue
Block a user