Removed deprecated option. Use the conf->module->enabled instead.

This commit is contained in:
Laurent Destailleur
2009-08-02 16:47:06 +00:00
parent 8e770f9480
commit 378b96d504
11 changed files with 72 additions and 85 deletions

View File

@@ -77,12 +77,6 @@ class modDroitPret extends DolibarrModules
$this->const=array();
$r=0;
$this->const[$r][0] = "PRODUCT_CANVAS_ABILITY";
$this->const[$r][1] = "chaine";
$this->const[$r][2] = 1;
$this->const[$r][3] = 'This is a constant';
$this->const[$r][4] = 1;
$r++;
$this->const[$r][0] = "MAIN_NEED_SMARTY";
$this->const[$r][1] = "chaine";

View File

@@ -76,8 +76,7 @@ class modEditeur extends DolibarrModules
$this->langfiles = array("orders","bills","companies");
// Constantes
$this->const=array(0=>array('PRODUCT_CANVAS_ABILITY','chaine',1,'This is a constant',1),
1=>array('MAIN_NEED_SMARTY','chaine',1,'Need smarty',0));
$this->const=array(1=>array('MAIN_NEED_SMARTY','chaine',1,'Need smarty',0));
// Boites
$this->boxes = array();