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:
jfefe 2015-05-05 01:13:49 +02:00
parent c89c89c73e
commit 82682dfc66

View File

@ -91,11 +91,10 @@ abstract class CommonObject
*/ */
public $canvas; public $canvas;
/**
public $name; *
public $lastname; * @var object Thirdparty associated with object
public $firstname; */
public $civility_id;
public $thirdparty; public $thirdparty;
// No constructor as it is an abstract class // No constructor as it is an abstract class