From 0ee35a8f48fbe7e6880dd8c86b823c5b109501e1 Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 7 Oct 2008 12:24:38 +0000 Subject: [PATCH] Moved renew command to the end git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12617 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/systems/goto/class_workstationService.inc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc index d350b2e2a..bae371a8b 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc @@ -462,17 +462,18 @@ class workservice extends plugin $this->cleanup(); - /* Send goto reload event to gosaSupportDaemon */ - if(count($this->attrs)){ - $this->send_goto_reload(); - } - $ldap->modify ($this->attrs); new log("modify","workstation/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error()); if (!$ldap->success()){ msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $this->dn, LDAP_MOD, get_class())); } $this->handle_post_events("modify"); + + /* Send goto reload event to gosaSupportDaemon */ + if(count($this->attrs)){ + $this->send_goto_reload(); + } + } -- 2.30.2