From: hickert Date: Wed, 3 Mar 2010 08:38:08 +0000 (+0000) Subject: unified post event handling! X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4bd5b00f2a815ba95ad26280d18d85d7119ceb39;p=gosa.git unified post event handling! git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15876 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/openxchange/personal/connectivity/openxchange/class_oxchangeAccount.inc b/gosa-plugins/openxchange/personal/connectivity/openxchange/class_oxchangeAccount.inc index 6977ca77c..9f46b396c 100644 --- a/gosa-plugins/openxchange/personal/connectivity/openxchange/class_oxchangeAccount.inc +++ b/gosa-plugins/openxchange/personal/connectivity/openxchange/class_oxchangeAccount.inc @@ -221,7 +221,7 @@ class oxchangeAccount extends plugin } /* Optionally execute a command after we're done */ - $this->postremove(array("uid" => $this->uid)); + $this->handle_post_events('remove'); /* Finally remove data from postgresql server */ foreach ($sqldeluser as $sqls){ @@ -330,8 +330,8 @@ class oxchangeAccount extends plugin msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $this->dn, 0, get_class())); } - /* Optionally execute a command after we're done */ - $this->postcreate(array("uid" => $this->uid)); + // Optionally execute a command after we're done + $this->handle_post_events('add'); if($needupdate){ $ldap->create_missing_trees("ou=addr,".$this->dn);