Code

Added support for general check hooks
[gosa.git] / plugins / admin / systems / class_servKolab.inc
index d2e5eb0b637cfe17ca532c086acb261f91928ea3..ba733edf5a42eeda429aad425f1f01e52b0a1e5d 100644 (file)
@@ -222,7 +222,9 @@ $ldap->modify ($attrs);
 
   function check() 
   {
-    $message = array();
+    /* Call common method to give check the hook */
+    $message= plugin::check();
+
     if(($this->kolabFreeBusyFuture==""))    {
       $message[] = _("Future days in Free/Busy settings must be set.");
     }elseif(!is_uid($this->kolabFreeBusyFuture) || $this->kolabFreeBusyFuture < 0){