Code

* Fixed current main base problem
[gosa.git] / plugins / personal / connectivity / class_intranetAccount.inc
index 6b0638ace7cc74f5d99d037b3bf8db8f97c6e780..d891007ed67d922127d98e74fdc0c308a6cfc42b 100644 (file)
@@ -97,9 +97,9 @@ class intranetAccount extends plugin
                  @DEBUG (DEBUG_LDAP, __LINE__, __FUNCTION__, __FILE__,
                                  $this->attributes, "Save");
                  $this->cleanup();
-$ldap->modify ($this->attrs); 
+                 $ldap->modify ($this->attrs); 
 
-                 show_ldap_error($ldap->get_error());
+                 show_ldap_error($ldap->get_error(), _("Removing intranet account failed"));
 
                  /* Optionally execute a command after we're done */
                  $this->postremove();
@@ -152,9 +152,9 @@ $ldap->modify ($this->attrs);
                  $ldap= $this->config->get_ldap_link();
                  $ldap->cd($this->dn);
                  $this->cleanup();
-$ldap->modify ($this->attrs); 
+                 $ldap->modify ($this->attrs); 
 
-                 show_ldap_error($ldap->get_error());
+                 show_ldap_error($ldap->get_error(), _("Saving intranet account failed"));
 
                  /* Optionally execute a command after we're done */
                  $this->postcreate();