Code

Added support for general check hooks
[gosa.git] / plugins / admin / fai / class_faiHookEntry.inc
index 8a7f0c990cef0ef446a8b78c42123af350945d1f..14bc4959ecd5e916f10ef63553741da4774da1aa 100644 (file)
@@ -136,7 +136,9 @@ class faiHookEntry extends plugin
   /* Check supplied data */
   function check()
   {
-    $message= array();
+    /* Call common method to give check the hook */
+    $message= plugin::check();
+
     if(empty($this->FAIscript)) {
       $message[]=_("Please enter a value for script.");
     }