Code

Added support for general check hooks
[gosa.git] / plugins / admin / systems / class_workstationStartup.inc
index a3f3366b22c86fe277def7d2be443b00c3c99f9f..c43f70d4709fd8ff0ecb51d22afad7307e1eb10a 100644 (file)
@@ -346,10 +346,15 @@ class workstartup extends plugin
   function check()
   {
     $messages = array();
+    
+    /* Call common method to give check the hook */
+    $messages= plugin::check();
+
     /* If there are packages selected, but no mirror show error */   
     if(($this->FAIdebianMirror == "none")&&(count($this->FAIclass)>0)){
       $messages[]=_("Please select a 'FAI server' or remove the 'FAI classes'.");
     }
+
     return($messages);
   }