Clean code
This commit is contained in:
parent
68b4866438
commit
7c4e737668
@ -102,9 +102,7 @@ class modAsset extends DolibarrModules
|
|||||||
// Example: $this->const=array(0=>array('ASSETS_MYNEWCONST1','chaine','myvalue','This is a constant to add',1),
|
// Example: $this->const=array(0=>array('ASSETS_MYNEWCONST1','chaine','myvalue','This is a constant to add',1),
|
||||||
// 1=>array('ASSETS_MYNEWCONST2','chaine','myvalue','This is another constant to add',0, 'current', 1)
|
// 1=>array('ASSETS_MYNEWCONST2','chaine','myvalue','This is another constant to add',0, 'current', 1)
|
||||||
// );
|
// );
|
||||||
$this->const = array(
|
$this->const = array();
|
||||||
//1=>array('ASSET_MYCONSTANT', 'chaine', 'avalue', 'This is a constant to add', 1, 'allentities', 1)
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
if (!isset($conf->asset) || !isset($conf->asset->enabled))
|
if (!isset($conf->asset) || !isset($conf->asset->enabled))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user