Code

Enable activation
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 16 Apr 2008 13:56:07 +0000 (13:56 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 16 Apr 2008 13:56:07 +0000 (13:56 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10512 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/class_systemManagement.inc

index 4c762030bc81b73794cc5c4ed9595d83602c91ae..09436756b06cbe4311857f850df2efd3f7aed143 100644 (file)
@@ -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;
          }