Code

Added support for general check hooks
[gosa.git] / plugins / personal / mail / class_mailAccount.inc
index 2da4db13cb2b44fc7b60ccb3e3a2d1d827eb4f16..0d51a29dd464af1eb6bb907d88c5d80cbba71bbc 100644 (file)
@@ -712,7 +712,8 @@ $ldap->modify ($this->attrs);
     if(!$this->is_account) return(array());
     $ldap= $this->config->get_ldap_link();
 
-    $message= array();
+    /* Call common method to give check the hook */
+    $message= plugin::check();
 
     if(empty($this->gosaMailServer)){
       $message[]= _("There is no valid mailserver specified, please add one in the system setup.");