Code

Set DNS hidden if acount is disabled
[gosa.git] / plugins / personal / connectivity / class_oxchangeAccount.inc
index 9a6e5d24d20bca6b850696bb35d146a7cf06b83e..317506027c0dbb300b15c25635ebd5ba33e665e0 100644 (file)
@@ -598,7 +598,7 @@ class oxchangeAccount extends plugin
   function execute()
   {
        /* Call parent execute */
-       plugin::execute();
+       //plugin::execute();
 
 
     /* Show tab dialog headers */
@@ -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 */