Skip to content
Snippets Groups Projects
Commit a00652d3 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Default module is the one that does not need setup

parent 4b6ea9ee
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,7 @@ class modContrat extends DolibarrModules
// Dependances
$this->depends = array("modService");
$this->requiredby = array();
// Config pages
$this->config_page_url = array("contract.php");
......@@ -76,10 +76,10 @@ class modContrat extends DolibarrModules
$this->const = array();
$this->const[0][0] = "CONTRACT_ADDON";
$this->const[0][1] = "chaine";
$this->const[0][2] = "mod_contract_magre";
$this->const[0][2] = "mod_contract_serpis";
$this->const[0][3] = 'Nom du gestionnaire de numerotation des contrats';
$this->const[0][4] = 0;
// Boxes
$this->boxes = array();
$this->boxes[0][1] = "box_contracts.php";
......@@ -129,9 +129,9 @@ class modContrat extends DolibarrModules
{
global $conf;
// Nettoyage avant activation
// Nettoyage avant activation
$this->remove();
return $this->_init($sql);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment