Commit 3553a6e5 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Merge branch '6189-apply-a-template-on-a-server-activate-all-the-services' into '1.4-dev'

Resolve "Apply a template on a server activate all the services"

See merge request fusiondirectory/fd!933
Showing with 4 additions and 0 deletions
+4 -0
...@@ -42,6 +42,10 @@ class simpleService extends simplePlugin ...@@ -42,6 +42,10 @@ class simpleService extends simplePlugin
{ {
/* $parent is the instance of servicesManagement in this case, we set it as parent */ /* $parent is the instance of servicesManagement in this case, we set it as parent */
parent::__construct($dn, $parent, $parent, FALSE, $attributesInfo); parent::__construct($dn, $parent, $parent, FALSE, $attributesInfo);
/* Services do not have the activation header, but can still be disabled */
$this->ignore_account = FALSE;
$plInfos = pluglist::pluginInfos(get_class($this)); $plInfos = pluglist::pluginInfos(get_class($this));
$this->DisplayName = $plInfos['plShortName']; $this->DisplayName = $plInfos['plShortName'];
} }
......
Supports Markdown
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