Code

Added support for general check hooks
[gosa.git] / plugins / admin / systems / class_servDB.inc
index 65e0f9df5419260db5f885977bc81db0f9dc628a..6ceef64e6183bab861fc96c669c12524ccc2bff4 100644 (file)
@@ -127,7 +127,8 @@ class servdb extends plugin
   /* Check supplied data */
   function check()
   {
-    $message= array();
+    /* Call common method to give check the hook */
+    $message= plugin::check();
 
     if(in_array("goGlpiServer",$this->objectclasses)){
       foreach(array("goGlpiAdmin","goGlpiDatabase") as $attr){