From: hickert Date: Thu, 8 Apr 2010 14:32:46 +0000 (+0000) Subject: Do not try to send gosa-si events while gosa-si is disabled X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d1ab5be23f90e7e2deeffee1f93deb66d7b172d5;p=gosa.git Do not try to send gosa-si events while gosa-si is disabled git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17561 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc index f902a92e0..1b2636074 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc @@ -870,7 +870,7 @@ class workstartup extends plugin $this->handle_post_events("modify"); /* Check if LDAP server has changed */ - if ((isset($this->attrs['gotoLdapServer']) && class_available("DaemonEvent")) || $this->gotoLdap_inherit){ + if ($this->si_active && (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'])){