diff --git a/plugins/personal/connectivity/class_kolabAccount.inc b/plugins/personal/connectivity/class_kolabAccount.inc
index 2b5ae71c864e4d6a8fca2f7367dc92493ea134f6..16e23b9fa12cecc0176ba893c4eb4d04f112de33 100644 (file)
function check()
{
- $message= array();
+ /* Call common method to give check the hook */
+ $message= plugin::check();
/* FBFuture is in days... */
if ($this->kolabFreeBusyFuture != "" && !preg_match('/^[0-9]+$/', $this->kolabFreeBusyFuture)){
$ldap= $this->config->get_ldap_link();
$ldap->cd($this->dn);
$this->cleanup();
-$ldap->modify ($this->attrs);
+ $ldap->modify ($this->attrs);
- show_ldap_error($ldap->get_error());
+ show_ldap_error($ldap->get_error(), _("Saving Kolab account failed"));
/* Optionally execute a command after we're done */
if ($this->initially_was_account == $this->is_account){