diff --git a/htdocs/adherents/class/adherent_type.class.php b/htdocs/adherents/class/adherent_type.class.php index 2f8592d3a21..71f18f01e4a 100644 --- a/htdocs/adherents/class/adherent_type.class.php +++ b/htdocs/adherents/class/adherent_type.class.php @@ -45,12 +45,6 @@ class AdherentType extends CommonObject public $libelle; /** @var string Label */ public $label; - /** - * @var bool - * @deprecated Use subscription - * @see subscription - */ - public $cotisation; /** * @var int Subsription required (0 or 1) * @since 5.0 diff --git a/htdocs/adherents/class/api_memberstypes.class.php b/htdocs/adherents/class/api_memberstypes.class.php index f2dfba0367a..1a8e93e0609 100644 --- a/htdocs/adherents/class/api_memberstypes.class.php +++ b/htdocs/adherents/class/api_memberstypes.class.php @@ -275,8 +275,6 @@ class MembersTypes extends DolibarrApi $object = parent::_cleanObjectDatas($object); - unset($object->cotisation); - unset($object->array_options); unset($object->linkedObjectsIds); unset($object->context);