Remove useless variables for common object
Fields name / civility / ... are nonsense for a lot of objects into Dolibarr. They could be defined for each object instead of into the common object class. This for the API which exposes a property civility for a category :\
This commit is contained in:
parent
c89c89c73e
commit
82682dfc66
@ -91,11 +91,10 @@ abstract class CommonObject
|
||||
*/
|
||||
public $canvas;
|
||||
|
||||
|
||||
public $name;
|
||||
public $lastname;
|
||||
public $firstname;
|
||||
public $civility_id;
|
||||
/**
|
||||
*
|
||||
* @var object Thirdparty associated with object
|
||||
*/
|
||||
public $thirdparty;
|
||||
|
||||
// No constructor as it is an abstract class
|
||||
|
||||
Loading…
Reference in New Issue
Block a user