mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-12 19:02:35 +01:00
Removed deprecated option. Use the conf->module->enabled instead.
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user