From 1b1bb551d98790a237e6be617f8fb13e5b1597e5 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sun, 6 Nov 2011 10:11:23 +0100 Subject: [PATCH] Fix: Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. --- .../triggers/interface_modLdap_Ldapsynchro.class.php | 6 +++--- htdocs/fourn/class/fournisseur.class.php | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/htdocs/core/triggers/interface_modLdap_Ldapsynchro.class.php b/htdocs/core/triggers/interface_modLdap_Ldapsynchro.class.php index f8e22bf722d3f..949854e09615b 100644 --- a/htdocs/core/triggers/interface_modLdap_Ldapsynchro.class.php +++ b/htdocs/core/triggers/interface_modLdap_Ldapsynchro.class.php @@ -375,7 +375,7 @@ function run_trigger($action,$object,$user,$langs,$conf) dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id); if ($conf->ldap->enabled && $conf->global->LDAP_MEMBER_ACTIVE) { - # If status field is setup to be synchronized + // If status field is setup to be synchronized if ($conf->global->LDAP_FIELD_MEMBER_STATUS) { $ldap=new Ldap(); @@ -399,7 +399,7 @@ function run_trigger($action,$object,$user,$langs,$conf) dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id); if ($conf->ldap->enabled && $conf->global->LDAP_MEMBER_ACTIVE) { - # If subscriptions fields are setup to be synchronized + // If subscriptions fields are setup to be synchronized if ($conf->global->LDAP_FIELD_MEMBER_FIRSTSUBSCRIPTION_DATE || $conf->global->LDAP_FIELD_MEMBER_FIRSTSUBSCRIPTION_AMOUNT || $conf->global->LDAP_FIELD_MEMBER_LASTSUBSCRIPTION_DATE @@ -458,7 +458,7 @@ function run_trigger($action,$object,$user,$langs,$conf) dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id); if ($conf->ldap->enabled && $conf->global->LDAP_MEMBER_ACTIVE) { - # If password field is setup to be synchronized + // If password field is setup to be synchronized if ($conf->global->LDAP_FIELD_PASSWORD || $conf->global->LDAP_FIELD_PASSWORD_CRYPTED) { $ldap=new Ldap(); diff --git a/htdocs/fourn/class/fournisseur.class.php b/htdocs/fourn/class/fournisseur.class.php index 8a3fb8bfd5238..1275570d6b3ea 100644 --- a/htdocs/fourn/class/fournisseur.class.php +++ b/htdocs/fourn/class/fournisseur.class.php @@ -246,12 +246,12 @@ function ListArray() } /** - * Return a link on thirdparty (with picto) - * - * @param withpicto Add picto into link (0=No picto, 1=Include picto with link, 2=Picto only) - * @param option Target of link ('', 'customer', 'prospect', 'supplier') - * @param maxlen Max length of text - * @return string String with URL + * Return a link on thirdparty (with picto) + * + * @param int $withpicto Add picto into link (0=No picto, 1=Include picto with link, 2=Picto only) + * @param string $option Target of link ('', 'customer', 'prospect', 'supplier') + * @param int $maxlen Max length of text + * @return string String with URL */ function getNomUrl($withpicto=0,$option='supplier',$maxlen=0) {