Code

Set DNS hidden if acount is disabled
[gosa.git] / plugins / personal / connectivity / class_oxchangeAccount.inc
index e88ac8fd81335571202ba5e8a79bd0df689abd0c..317506027c0dbb300b15c25635ebd5ba33e665e0 100644 (file)
@@ -719,7 +719,9 @@ class oxchangeAccount extends plugin
     $ldap->cd($this->dn);
     @DEBUG (DEBUG_LDAP, __LINE__, __FUNCTION__, __FILE__,
         $this->attributes, "Save");
-    $ldap->modify($this->attrs);
+    $this->cleanup();
+$ldap->modify ($this->attrs); 
+
     show_ldap_error($ldap->get_error());
     /* Optionally execute a command after we're done */
     $this->postremove();
@@ -804,7 +806,9 @@ class oxchangeAccount extends plugin
     /* Write back to ldap */
     $ldap= $this->config->get_ldap_link();
     $ldap->cd($this->dn);
-    $ldap->modify($this->attrs);
+    $this->cleanup();
+$ldap->modify ($this->attrs); 
+
     show_ldap_error($ldap->get_error());
 
     /* Optionally execute a command after we're done */