diff --git a/htdocs/core/modules/barcode/doc/phpbarcode.modules.php b/htdocs/core/modules/barcode/doc/phpbarcode.modules.php index 4da49e779e7..6002db02ab8 100644 --- a/htdocs/core/modules/barcode/doc/phpbarcode.modules.php +++ b/htdocs/core/modules/barcode/doc/phpbarcode.modules.php @@ -71,8 +71,8 @@ class modPhpbarcode extends ModeleBarCode } /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/barcode/doc/tcpdfbarcode.modules.php b/htdocs/core/modules/barcode/doc/tcpdfbarcode.modules.php index 6161412572e..2abec661981 100644 --- a/htdocs/core/modules/barcode/doc/tcpdfbarcode.modules.php +++ b/htdocs/core/modules/barcode/doc/tcpdfbarcode.modules.php @@ -67,8 +67,8 @@ class modTcpdfbarcode extends ModeleBarCode } /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/bom/mod_bom_standard.php b/htdocs/core/modules/bom/mod_bom_standard.php index 77c0856d3f6..16df1dd0d92 100644 --- a/htdocs/core/modules/bom/mod_bom_standard.php +++ b/htdocs/core/modules/bom/mod_bom_standard.php @@ -72,8 +72,8 @@ class mod_bom_standard extends ModeleNumRefboms /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/bom/modules_bom.php b/htdocs/core/modules/bom/modules_bom.php index 45bca8a38b3..2b150402fb0 100644 --- a/htdocs/core/modules/bom/modules_bom.php +++ b/htdocs/core/modules/bom/modules_bom.php @@ -109,8 +109,8 @@ abstract class ModeleNumRefBoms } /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/cheque/mod_chequereceipt_mint.php b/htdocs/core/modules/cheque/mod_chequereceipt_mint.php index 8ee74065583..f4995962f90 100644 --- a/htdocs/core/modules/cheque/mod_chequereceipt_mint.php +++ b/htdocs/core/modules/cheque/mod_chequereceipt_mint.php @@ -69,8 +69,8 @@ class mod_chequereceipt_mint extends ModeleNumRefChequeReceipts /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/cheque/modules_chequereceipts.php b/htdocs/core/modules/cheque/modules_chequereceipts.php index 80dc8447329..74de02bcd0f 100644 --- a/htdocs/core/modules/cheque/modules_chequereceipts.php +++ b/htdocs/core/modules/cheque/modules_chequereceipts.php @@ -76,8 +76,8 @@ abstract class ModeleNumRefChequeReceipts } /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/commande/mod_commande_marbre.php b/htdocs/core/modules/commande/mod_commande_marbre.php index 6e9111afa69..9dc07576797 100644 --- a/htdocs/core/modules/commande/mod_commande_marbre.php +++ b/htdocs/core/modules/commande/mod_commande_marbre.php @@ -72,8 +72,8 @@ class mod_commande_marbre extends ModeleNumRefCommandes /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/commande/modules_commande.php b/htdocs/core/modules/commande/modules_commande.php index 143ae173986..53b9a636d4b 100644 --- a/htdocs/core/modules/commande/modules_commande.php +++ b/htdocs/core/modules/commande/modules_commande.php @@ -110,8 +110,8 @@ abstract class ModeleNumRefCommandes } /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/dons/modules_don.php b/htdocs/core/modules/dons/modules_don.php index 932d0a97f74..11538d8fff4 100644 --- a/htdocs/core/modules/dons/modules_don.php +++ b/htdocs/core/modules/dons/modules_don.php @@ -108,8 +108,8 @@ abstract class ModeleNumRefDons } /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/expensereport/mod_expensereport_jade.php b/htdocs/core/modules/expensereport/mod_expensereport_jade.php index f703561ea03..93d2ca15a48 100644 --- a/htdocs/core/modules/expensereport/mod_expensereport_jade.php +++ b/htdocs/core/modules/expensereport/mod_expensereport_jade.php @@ -78,8 +78,8 @@ class mod_expensereport_jade extends ModeleNumRefExpenseReport /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/expensereport/modules_expensereport.php b/htdocs/core/modules/expensereport/modules_expensereport.php index dafbe51c760..fde1ea2df6b 100644 --- a/htdocs/core/modules/expensereport/modules_expensereport.php +++ b/htdocs/core/modules/expensereport/modules_expensereport.php @@ -117,7 +117,7 @@ abstract class ModeleNumRefExpenseReport } /** - * Test whether the numbers already in force in the base do not cause conflicts that would prevent this numbering from working. + * Test whether the numbers already in force in the base do not cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/facture/mod_facture_mars.php b/htdocs/core/modules/facture/mod_facture_mars.php index 3ef5fd0c7ac..6ad8c2528bd 100644 --- a/htdocs/core/modules/facture/mod_facture_mars.php +++ b/htdocs/core/modules/facture/mod_facture_mars.php @@ -84,8 +84,8 @@ class mod_facture_mars extends ModeleNumRefFactures } /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/facture/mod_facture_terre.php b/htdocs/core/modules/facture/mod_facture_terre.php index d5196867b67..f43253bded0 100644 --- a/htdocs/core/modules/facture/mod_facture_terre.php +++ b/htdocs/core/modules/facture/mod_facture_terre.php @@ -94,8 +94,8 @@ class mod_facture_terre extends ModeleNumRefFactures } /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/facture/modules_facture.php b/htdocs/core/modules/facture/modules_facture.php index 56379a0c492..871d29fca0d 100644 --- a/htdocs/core/modules/facture/modules_facture.php +++ b/htdocs/core/modules/facture/modules_facture.php @@ -114,8 +114,8 @@ abstract class ModeleNumRefFactures } /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/fichinter/mod_pacific.php b/htdocs/core/modules/fichinter/mod_pacific.php index 3ecd3d6833d..d6437a7e84c 100644 --- a/htdocs/core/modules/fichinter/mod_pacific.php +++ b/htdocs/core/modules/fichinter/mod_pacific.php @@ -78,8 +78,8 @@ class mod_pacific extends ModeleNumRefFicheinter } /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/fichinter/modules_fichinter.php b/htdocs/core/modules/fichinter/modules_fichinter.php index d5311ed792e..8db526da0a2 100644 --- a/htdocs/core/modules/fichinter/modules_fichinter.php +++ b/htdocs/core/modules/fichinter/modules_fichinter.php @@ -109,8 +109,8 @@ abstract class ModeleNumRefFicheinter } /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/livraison/mod_livraison_jade.php b/htdocs/core/modules/livraison/mod_livraison_jade.php index 9bc56842fdd..f27c1a8583f 100644 --- a/htdocs/core/modules/livraison/mod_livraison_jade.php +++ b/htdocs/core/modules/livraison/mod_livraison_jade.php @@ -82,8 +82,8 @@ class mod_livraison_jade extends ModeleNumRefDeliveryOrder } /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/livraison/modules_livraison.php b/htdocs/core/modules/livraison/modules_livraison.php index c88f3c53ae4..9672f1f31cf 100644 --- a/htdocs/core/modules/livraison/modules_livraison.php +++ b/htdocs/core/modules/livraison/modules_livraison.php @@ -112,8 +112,8 @@ abstract class ModeleNumRefDeliveryOrder } /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/mrp/mod_mo_standard.php b/htdocs/core/modules/mrp/mod_mo_standard.php index 05b13525023..04391d25fd7 100644 --- a/htdocs/core/modules/mrp/mod_mo_standard.php +++ b/htdocs/core/modules/mrp/mod_mo_standard.php @@ -72,8 +72,8 @@ class mod_mo_standard extends ModeleNumRefMos /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/mrp/modules_mo.php b/htdocs/core/modules/mrp/modules_mo.php index 76d204a9826..cd9b3ec51db 100644 --- a/htdocs/core/modules/mrp/modules_mo.php +++ b/htdocs/core/modules/mrp/modules_mo.php @@ -109,8 +109,8 @@ abstract class ModeleNumRefMos } /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/payment/mod_payment_cicada.php b/htdocs/core/modules/payment/mod_payment_cicada.php index 9c40a575f47..6addb1a5e31 100644 --- a/htdocs/core/modules/payment/mod_payment_cicada.php +++ b/htdocs/core/modules/payment/mod_payment_cicada.php @@ -79,8 +79,8 @@ class mod_payment_cicada extends ModeleNumRefPayments /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/payment/modules_payment.php b/htdocs/core/modules/payment/modules_payment.php index 192fd0207c3..10d7a56164d 100644 --- a/htdocs/core/modules/payment/modules_payment.php +++ b/htdocs/core/modules/payment/modules_payment.php @@ -63,8 +63,8 @@ abstract class ModeleNumRefPayments } /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/product/modules_product.class.php b/htdocs/core/modules/product/modules_product.class.php index 81a4457954b..82a099a09fa 100644 --- a/htdocs/core/modules/product/modules_product.class.php +++ b/htdocs/core/modules/product/modules_product.class.php @@ -102,8 +102,8 @@ abstract class ModeleProductCode } /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/project/mod_project_simple.php b/htdocs/core/modules/project/mod_project_simple.php index 92f86a433c8..3d091658619 100644 --- a/htdocs/core/modules/project/mod_project_simple.php +++ b/htdocs/core/modules/project/mod_project_simple.php @@ -81,8 +81,8 @@ class mod_project_simple extends ModeleNumRefProjects /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/project/modules_project.php b/htdocs/core/modules/project/modules_project.php index 4f831b72f4b..41905501791 100644 --- a/htdocs/core/modules/project/modules_project.php +++ b/htdocs/core/modules/project/modules_project.php @@ -107,8 +107,8 @@ abstract class ModeleNumRefProjects } /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/project/task/mod_task_simple.php b/htdocs/core/modules/project/task/mod_task_simple.php index 3f9debf9941..fbb5f2d4c5d 100644 --- a/htdocs/core/modules/project/task/mod_task_simple.php +++ b/htdocs/core/modules/project/task/mod_task_simple.php @@ -81,8 +81,8 @@ class mod_task_simple extends ModeleNumRefTask /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/project/task/modules_task.php b/htdocs/core/modules/project/task/modules_task.php index 73757dc9bde..912bc18f18d 100644 --- a/htdocs/core/modules/project/task/modules_task.php +++ b/htdocs/core/modules/project/task/modules_task.php @@ -108,8 +108,8 @@ abstract class ModeleNumRefTask } /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/propale/mod_propale_marbre.php b/htdocs/core/modules/propale/mod_propale_marbre.php index 8953ee6f6af..e8fa9970ef9 100644 --- a/htdocs/core/modules/propale/mod_propale_marbre.php +++ b/htdocs/core/modules/propale/mod_propale_marbre.php @@ -81,8 +81,8 @@ class mod_propale_marbre extends ModeleNumRefPropales /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/propale/modules_propale.php b/htdocs/core/modules/propale/modules_propale.php index 0dd26cbe6fb..c457cf8a446 100644 --- a/htdocs/core/modules/propale/modules_propale.php +++ b/htdocs/core/modules/propale/modules_propale.php @@ -111,8 +111,8 @@ abstract class ModeleNumRefPropales } /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/societe/modules_societe.class.php b/htdocs/core/modules/societe/modules_societe.class.php index 37fe3d517f6..f76aa6e20d3 100644 --- a/htdocs/core/modules/societe/modules_societe.class.php +++ b/htdocs/core/modules/societe/modules_societe.class.php @@ -106,8 +106,8 @@ abstract class ModeleThirdPartyCode } /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ @@ -299,8 +299,8 @@ abstract class ModeleAccountancyCode } /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/supplier_order/mod_commande_fournisseur_muguet.php b/htdocs/core/modules/supplier_order/mod_commande_fournisseur_muguet.php index 25fdd77991b..f6bf6480c0f 100644 --- a/htdocs/core/modules/supplier_order/mod_commande_fournisseur_muguet.php +++ b/htdocs/core/modules/supplier_order/mod_commande_fournisseur_muguet.php @@ -91,8 +91,8 @@ class mod_commande_fournisseur_muguet extends ModeleNumRefSuppliersOrders /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/supplier_payment/mod_supplier_payment_bronan.php b/htdocs/core/modules/supplier_payment/mod_supplier_payment_bronan.php index 8a16475b383..c3499bdbf8d 100644 --- a/htdocs/core/modules/supplier_payment/mod_supplier_payment_bronan.php +++ b/htdocs/core/modules/supplier_payment/mod_supplier_payment_bronan.php @@ -79,8 +79,8 @@ class mod_supplier_payment_bronan extends ModeleNumRefSupplierPayments /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/supplier_payment/modules_supplier_payment.php b/htdocs/core/modules/supplier_payment/modules_supplier_payment.php index ca1eac2c17f..f020e501c1e 100644 --- a/htdocs/core/modules/supplier_payment/modules_supplier_payment.php +++ b/htdocs/core/modules/supplier_payment/modules_supplier_payment.php @@ -98,8 +98,8 @@ abstract class ModeleNumRefSupplierPayments } /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/supplier_proposal/mod_supplier_proposal_marbre.php b/htdocs/core/modules/supplier_proposal/mod_supplier_proposal_marbre.php index 7bd15599e24..a340f3eddd1 100644 --- a/htdocs/core/modules/supplier_proposal/mod_supplier_proposal_marbre.php +++ b/htdocs/core/modules/supplier_proposal/mod_supplier_proposal_marbre.php @@ -81,8 +81,8 @@ class mod_supplier_proposal_marbre extends ModeleNumRefSupplierProposal /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/supplier_proposal/modules_supplier_proposal.php b/htdocs/core/modules/supplier_proposal/modules_supplier_proposal.php index f795b1ea7ed..d93723d3c6f 100644 --- a/htdocs/core/modules/supplier_proposal/modules_supplier_proposal.php +++ b/htdocs/core/modules/supplier_proposal/modules_supplier_proposal.php @@ -111,8 +111,8 @@ abstract class ModeleNumRefSupplierProposal } /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/takepos/modules_takepos.php b/htdocs/core/modules/takepos/modules_takepos.php index cb33fd2d9b3..e077cda7b6b 100644 --- a/htdocs/core/modules/takepos/modules_takepos.php +++ b/htdocs/core/modules/takepos/modules_takepos.php @@ -76,8 +76,8 @@ abstract class ModeleNumRefTakepos } /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/ticket/mod_ticket_simple.php b/htdocs/core/modules/ticket/mod_ticket_simple.php index 3245f7b8e84..a6fbb6fde72 100644 --- a/htdocs/core/modules/ticket/mod_ticket_simple.php +++ b/htdocs/core/modules/ticket/mod_ticket_simple.php @@ -77,8 +77,8 @@ class mod_ticket_simple extends ModeleNumRefTicket } /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/core/modules/ticket/modules_ticket.php b/htdocs/core/modules/ticket/modules_ticket.php index 1bb1f8ad04b..ee50071b591 100644 --- a/htdocs/core/modules/ticket/modules_ticket.php +++ b/htdocs/core/modules/ticket/modules_ticket.php @@ -69,8 +69,8 @@ abstract class ModeleNumRefTicket } /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * * @return boolean false if conflict, true if ok */ diff --git a/htdocs/modulebuilder/template/core/modules/mymodule/mod_myobject_standard.php b/htdocs/modulebuilder/template/core/modules/mymodule/mod_myobject_standard.php index 71926700aa4..d57d817985a 100644 --- a/htdocs/modulebuilder/template/core/modules/mymodule/mod_myobject_standard.php +++ b/htdocs/modulebuilder/template/core/modules/mymodule/mod_myobject_standard.php @@ -73,12 +73,13 @@ class mod_myobject_standard extends ModeleNumRefMyObject /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * - * @return boolean false if conflict, true if ok + * @param Object $object Object we need next value for + * @return boolean false if conflict, true if ok */ - public function canBeActivated() + public function canBeActivated($object) { global $conf, $langs, $db; diff --git a/htdocs/modulebuilder/template/core/modules/mymodule/modules_myobject.php b/htdocs/modulebuilder/template/core/modules/mymodule/modules_myobject.php index 5aa9642a898..b052d4538bd 100644 --- a/htdocs/modulebuilder/template/core/modules/mymodule/modules_myobject.php +++ b/htdocs/modulebuilder/template/core/modules/mymodule/modules_myobject.php @@ -108,12 +108,13 @@ abstract class ModeleNumRefMyObject } /** - * Checks if the numbers already in force in the data base do not - * cause conflicts that would prevent this numbering from working. + * Checks if the numbers already in the database do not + * cause conflicts that would prevent this numbering working. * - * @return boolean false if conflict, true if ok + * @param Object $object Object we need next value for + * @return boolean false if conflict, true if ok */ - public function canBeActivated() + public function canBeActivated($object) { return true; }