Code

Upated error msgs
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 30 Jun 2006 05:44:54 +0000 (05:44 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 30 Jun 2006 05:44:54 +0000 (05:44 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4005 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/addons/godfs/class_dfsgeneric.inc

index bfb00098d70a98b24bad818aa906691d6d234ec0..8f4f7d3cb3c1dd91e7cb92c7676b53af433d7ba7 100644 (file)
           # add
           $ldap->add($this->attrs);
         }
-        show_ldap_error($ldap->get_error());
+                               show_ldap_error($ldap->get_error(), sprintf(_("Saving dfs/generic with dn '%s' failed."),$this->basedn));
       }
     }
 
       $ldap = $this->config->get_ldap_link();
       $ldap->cd($this->basedn);
       $ldap->rmdir($this->basedn);
-      show_ldap_error($ldap->get_error());
+                       show_ldap_error($ldap->get_error(), sprintf(_("Removing dfs/generic with dn '%s' failed."),$this->basedn));
     }
       
   }