Commit 41ff52ef authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Merge branch '6015-add-support-for-supann-cms-carte-multi-service' into '1.4-dev'

Resolve "Add support for SupAnn CMS (Carte Multi Service)"

See merge request fusiondirectory/fd-plugins!710
parents ac185782 c3c825ca
......@@ -126,4 +126,14 @@ class supannCMS extends simplePlugin
$this->attributesAccess['supannCMSAppAffectation']->supannPrepareSave(TRUE);
return parent::prepare_save();
}
protected function prepare_remove ()
{
parent::prepare_remove();
/* Remove tagged values as well */
$this->supannCMSId = [];
$this->supannCMSAppId = [];
$this->attributesAccess['supannCMSId']->fillLdapValue($this->attrs);
$this->attributesAccess['supannCMSAppId']->fillLdapValue($this->attrs);
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment