Code

Updated location list to remove addressbook for testing
[gosa.git] / gosa-core / include / class_tabs.inc
index 4d5c69512fb5e7abb48a9cbd389b5dcdf97d06d5..aa00fbc2483c5fa0dd57a5e47be4c58c8948d850 100644 (file)
@@ -206,7 +206,7 @@ class tabs
     foreach (array_reverse($this->by_object) as $key => $obj){
       $reason= $obj->allow_remove();
       if ($reason != ""){
-        print_red(sprintf(_("Delete process has been canceled by plugin '%s': %s"), $key, $reason));
+        msg_dialog::display(_("Warning"), sprintf(_("Delete process has been canceled by plugin '%s': %s"), $key, $reason), WARNING_DIALOG);
         return;
       }
     }