Fix modulebuilder template

This commit is contained in:
Laurent Destailleur
2020-01-07 12:39:47 +01:00
parent 6602a7046e
commit 9729b3a1c7
3 changed files with 60 additions and 4 deletions

View File

@@ -118,11 +118,10 @@ class mod_myobject_advanced extends ModeleNumRefMyObject
/**
* Return next free value
*
* @param Product $objprod Object product
* @param Object $object Object we need next value for
* @return string Value if KO, <0 if KO
*/
public function getNextValue($objprod, $object)
public function getNextValue($object)
{
global $db,$conf;

View File

@@ -109,11 +109,10 @@ class mod_myobject_standard extends ModeleNumRefMyObject
/**
* Return next free value
*
* @param Product $objprod Object product
* @param Object $object Object we need next value for
* @return string Value if KO, <0 if KO
*/
public function getNextValue($objprod, $object)
public function getNextValue($object)
{
global $db,$conf;