Code

Added conflict with kolab
[gosa.git] / plugins / admin / systems / class_glpiDeviceManagement.inc
index c99e382baa3530aa051c07c042c02e31636e50cb..6573cb9a690dbace39bdfa0d2635c451ecad8e99 100644 (file)
@@ -114,7 +114,7 @@ class glpiDeviceManagement extends plugin
       }elseif(isset($tmp['designation'])){
         $smarty->assign("warning", sprintf(_("You're about to delete the glpi device '%s'."), $tmp['designation']));
       }else{
-        print_a(_("Can't detect object name."));
+        print_red(_("Can't detect object name."));
       }
       
       return($smarty->fetch(get_template_path('remove_glpi.tpl', TRUE)));
@@ -335,7 +335,8 @@ class glpiDeviceManagement extends plugin
    */
   function check($attr)
   {
-    $message = array();
+    /* Call common method to give check the hook */
+    $message= plugin::check();
 
     if(isset($attr['designation'])){
       $str2 = "designation";