Code

Added support for general check hooks
[gosa.git] / plugins / admin / systems / class_glpiAttachmentPool.inc
index fb1d5618dd0569ba02dd31cf062c0ba3ea7fa34d..8b0300d6f65669bbe48af73d96e160f2e94938d8 100644 (file)
@@ -326,7 +326,9 @@ class glpiAttachmentPool extends plugin
   /* Simple check */
   function check()
   {
-    $message = array();
+    /* Call common method to give check the hook */
+    $message= plugin::check();
+
     if($this->edit){
     
       /* check if given name is already in use */