Code

Added inherit mode
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 16 Apr 2008 15:45:50 +0000 (15:45 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 16 Apr 2008 15:45:50 +0000 (15:45 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10517 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc

index 7857195016e731ff6bc08fc45c6fbef2b66123cd..2c167fc01c98a2641fe28127fdad0d05b5b46974 100644 (file)
@@ -925,7 +925,7 @@ class workstartup extends plugin
     $this->handle_post_events("modify");
 
     /* Check if LDAP server has changed */
-    if ((isset($this->attrs['gotoLdapServer']) && class_available("DaemonEvent"))){
+    if ((isset($this->attrs['gotoLdapServer']) && class_available("DaemonEvent")) || $this->gotoLdap_inherit){
       $events = DaemonEvent::get_event_types(SYSTEM_EVENT | HIDDEN_EVENT);
       $o_queue = new gosaSupportDaemon();
       if(isset($events['TRIGGERED']['DaemonEvent_reload_ldap_config'])){