Code

Added tooltip
[gosa.git] / plugins / personal / connectivity / class_oxchangeAccount.inc
index d68794de2be2eb9ed3261d63c51001919db3f0a8..317506027c0dbb300b15c25635ebd5ba33e665e0 100644 (file)
@@ -597,6 +597,9 @@ class oxchangeAccount extends plugin
 
   function execute()
   {
+       /* Call parent execute */
+       //plugin::execute();
+
 
     /* Show tab dialog headers */
     $display="";
@@ -697,7 +700,7 @@ class oxchangeAccount extends plugin
           return;
         }
       }else{
-        print_red(_("Needed parameters to openexchange connectivity plugin are missing!"));
+        print_red(_("Needed parameters for openexchange connectivity plugin are missing!"));
         return;
       }
     }else{
@@ -716,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();
@@ -801,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 */