Code

Moved renew command to the end
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 7 Oct 2008 12:24:38 +0000 (12:24 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 7 Oct 2008 12:24:38 +0000 (12:24 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12617 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index d350b2e2aa85675e059f4062488107339f0f6d28..bae371a8bec95247b4576fe09283895ca0dccebf 100644 (file)
@@ -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(); 
+    }
+
   }