Code

Added support for general check hooks
[gosa.git] / plugins / personal / generic / class_user.inc
index ab24dffcd1e812885282137b6772304f5ccb9a3e..0d7a9187310469b50310bd3680e41faf61ce9b6c 100644 (file)
@@ -928,7 +928,8 @@ class user extends plugin
   /* Check formular input */
   function check()
   {
-    $message= array();
+    /* Call common method to give check the hook */
+    $message= plugin::check();
 
     /* Assemble cn */
     $this->cn= $this->givenName." ".$this->sn;