From: cajus Date: Wed, 7 May 2008 08:31:20 +0000 (+0000) Subject: Update the DB even if there's a modify - not just on create X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=da077cea56f25ce29c09d2a6f0f9d6c2581d4e95;p=gosa.git Update the DB even if there's a modify - not just on create git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10805 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/services/repository/class_servRepository.inc b/gosa-plugins/goto/admin/systems/services/repository/class_servRepository.inc index 4f2a6adb2..565501bc0 100644 --- a/gosa-plugins/goto/admin/systems/services/repository/class_servRepository.inc +++ b/gosa-plugins/goto/admin/systems/services/repository/class_servRepository.inc @@ -287,9 +287,11 @@ class servrepository extends goService $ldap->cd($this->dn); $ldap->add($this->attrs); $this->handle_post_events("add"); - if(count($this->attrs)){ - $this->trigger_si_fai_server_reload(); - } + } + + # If there were changes, just tell the server to reload information + if(count($this->attrs)){ + $this->trigger_si_fai_server_reload(); } if($this->initially_was_account){