summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fcbb830)
raw | patch | inline | side by side (parent: fcbb830)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Jun 2006 11:21:31 +0000 (11:21 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Jun 2006 11:21:31 +0000 (11:21 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3989 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/addons/addressbook/class_addressbook.inc | patch | blob | history | |
plugins/addons/godfs/class_dfsManagment.inc | patch | blob | history |
diff --git a/plugins/addons/addressbook/class_addressbook.inc b/plugins/addons/addressbook/class_addressbook.inc
index 615a5bbfb0589ed0a030c193c5d98ea2fa3d5abe..9302a187a2cb1db559aaef7f80033a7d2edb6f3b 100644 (file)
/* Delete request is permitted, perform LDAP action */
$ldap= $this->config->get_ldap_link();
$ldap->rmdir ($this->dn);
- show_ldap_error($ldap->get_error(), _("Removing addressbook entry failed"));
+ show_ldap_error($ldap->get_error(), sprintf(_("Removing of addressbook entry '%s' failed."),$this->dn));
gosa_log ("Address book object'".$this->dn."' has been removed");
} else {
$ldap->cd ($this->dn);
$this->cleanup();
$ldap->$mode ($this->attrs);
- if (show_ldap_error($ldap->get_error(), _("Saving addressbook entry failed"))){
+ if (show_ldap_error($ldap->get_error(), sprintf(_("Removing of addressbook entry '%s' failed."),$this->dn))){
return (1);
}
}
diff --git a/plugins/addons/godfs/class_dfsManagment.inc b/plugins/addons/godfs/class_dfsManagment.inc
index 0d381a1c115fdfe8087e55035cce5c826bd30c20..0ad7ee43104d55fd1cf70069c94d1fcb25fc9a16 100644 (file)
$ldap = $this->config->get_ldap_link();
$ldap->cd($this->basedn);
$ldap->rmdir($this->basedn);
- show_ldap_error($ldap->get_error(), _("Removing DFS share failed"));
+ show_ldap_error($ldap->get_error(), sprintf(_("Removing of DFS share with dn '%s' failed."),$this->dn));
del_lock ($_SESSION['objectinfo']);
unset ($this->dfstab);