diff --git a/htdocs/core/class/commonnumrefgenerator.class.php b/htdocs/core/class/commonnumrefgenerator.class.php index 20b956034b0..f843c599dd7 100644 --- a/htdocs/core/class/commonnumrefgenerator.class.php +++ b/htdocs/core/class/commonnumrefgenerator.class.php @@ -85,6 +85,7 @@ abstract class CommonNumRefGenerator */ public $prefixIsRequired; + /** Return model name * * @param Translate $langs Object langs diff --git a/htdocs/core/modules/societe/modules_societe.class.php b/htdocs/core/modules/societe/modules_societe.class.php index f32e6257bb7..c4e65c4fded 100644 --- a/htdocs/core/modules/societe/modules_societe.class.php +++ b/htdocs/core/modules/societe/modules_societe.class.php @@ -93,7 +93,7 @@ abstract class ModeleThirdPartyCode extends CommonNumRefGenerator * @param int<-1,2> $type Type of third party (1:customer, 2:supplier, -1:autodetect) * @return string Return string example */ - abstract public function getExample($langs = null, $objsoc = '', $type = -1); + //abstract public function getExample($langs = null, $objsoc = '', $type = -1); /** @@ -150,8 +150,6 @@ abstract class ModeleThirdPartyCode extends CommonNumRefGenerator */ public function getToolTip($langs, $soc, $type) { - global $conf; - $langs->loadLangs(array("admin", "companies")); $strikestart = '';