Code

Fixed detection of already used object names
[gosa.git] / plugins / admin / ogroups / class_phonequeue.inc
index 827d2ad8a2309a5423a05e64214c9f073d56072e..260fda96f47899b5deb796608b7003e516529eee 100644 (file)
@@ -584,7 +584,7 @@ class phonequeue extends plugin
     $this->cleanup();
     $ldap->modify ($this->attrs); 
 
-    show_ldap_error($ldap->get_error(), _("Saving phone queue failed"));
+    show_ldap_error($ldap->get_error(), sprintf(_("Saving of object group/phone queue with dn '%s' failed."),$this->dn));
 
     /* Optionally execute a command after we're done */
     if ($this->initially_was_account == $this->is_account){
@@ -681,7 +681,7 @@ class phonequeue extends plugin
     $this->cleanup();
     $ldap->modify ($this->attrs); 
 
-    show_ldap_error($ldap->get_error(), _("Removing phone queue failed"));
+    show_ldap_error($ldap->get_error(), sprintf(_("Removing of object group/phone queue with dn '%s' failed."),$this->dn));
   }