Code

Added support for general check hooks
[gosa.git] / plugins / admin / systems / class_glpiAccount.inc
index 617b8f9b3081134e690b09f7c59e496f3da5f64e..353bf8e3fdf74250df6f0b08b8ac1baf18b9e098 100644 (file)
@@ -692,7 +692,8 @@ class glpiAccount extends plugin
   /* Check supplied data */
   function check()
   {
-    $message= array();
+    /* Call common method to give check the hook */
+    $message= plugin::check();
 
     //    if($this->TechnicalResponsible == ""){
     //      $message[] = _("Please select a technical responsible person for this entry.");