From: cajus Date: Wed, 16 Apr 2008 13:56:07 +0000 (+0000) Subject: Enable activation X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2a613bf6887cc2cca2946487e9ab24883b9290fa;p=gosa.git Enable activation git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10512 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc index 4c762030b..09436756b 100644 --- a/gosa-plugins/systems/admin/systems/class_systemManagement.inc +++ b/gosa-plugins/systems/admin/systems/class_systemManagement.inc @@ -944,6 +944,14 @@ class systems extends plugin } } + # Enable activation + foreach (array("servgeneric", "workgeneric", "termgeneric") as $cls){ + if (isset($this->systab->by_object[$cls])){ + $this->systab->by_object["workstartup"]->auto_activate= TRUE; + } + } + + # Enable sending of LDAP events if (isset($this->systab->by_object["workstartup"])){ $this->systab->by_object["workstartup"]->gotoLdap_inherit= TRUE; }