Code

fixed post action calls
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 28 Jul 2010 09:55:49 +0000 (09:55 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 28 Jul 2010 09:55:49 +0000 (09:55 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@19185 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/openxchange/personal/connectivity/openxchange/class_oxchangeAccount.inc

index 6977ca77caed2ee0f810dbca370f8bb050413c97..b6af27fd716bcec80ea34d16102f284c761df7da 100644 (file)
@@ -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",array("uid" => $this->uid));
 
     /* Finally remove data from postgresql server */
     foreach ($sqldeluser as $sqls){
@@ -331,7 +331,7 @@ class oxchangeAccount extends plugin
     }
 
     /* Optionally execute a command after we're done */
-    $this->postcreate(array("uid" => $this->uid));
+    $this->handle_post_events("add",array("uid" => $this->uid));
 
     if($needupdate){
       $ldap->create_missing_trees("ou=addr,".$this->dn);