2
0
forked from Wavyzz/dolibarr

Clean deprecated code (property "special" removed from mod descriptor)

This commit is contained in:
Laurent Destailleur
2018-02-25 10:55:02 +01:00
parent c604ce0a06
commit 029ef534d0
79 changed files with 130 additions and 245 deletions

View File

@@ -40,7 +40,7 @@ class modWebServicesClient extends DolibarrModules
$this->db = $db;
$this->numero = 2660;
$this->family = "technic";
$this->family = "interface";
// Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module)
$this->name = preg_replace('/^mod/i','',get_class($this));
$this->description = "Enable the web service client to call external supplier web services";
@@ -48,8 +48,6 @@ class modWebServicesClient extends DolibarrModules
$this->version = 'experimental';
// Key used in llx_const table to save module status enabled/disabled (where MYMODULE is value of property name of module in uppercase)
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
// Where to store the module in setup page (0=common,1=interface,2=others,3=very specific)
$this->special = 1;
// Name of image file used for this module.
$this->picto='technic';