From 2a613bf6887cc2cca2946487e9ab24883b9290fa Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 16 Apr 2008 13:56:07 +0000 Subject: [PATCH] Enable activation git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10512 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../systems/admin/systems/class_systemManagement.inc | 8 ++++++++ 1 file changed, 8 insertions(+) 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; } -- 2.30.2