Code

Added support for general check hooks
[gosa.git] / plugins / admin / systems / class_servDNSeditZone.inc
index 13ed5678e06b1d4e97a59b2f514d89549f44487c..19662d38bf228b6d385ebccc4f2898239e80aaac 100644 (file)
@@ -341,7 +341,9 @@ class servdnseditZone extends plugin
   /* Check supplied data */
   function check()
   {
-    $message= array();
+    /* Call common method to give check the hook */
+    $message= plugin::check();
+        
     /* Check if zoneName is already in use */
     $usedZones = $this->getUsedZoneNames();
     if(($this->isNew == true)||($this->zoneName  != $this->InitialzoneName)||($this->ReverseZone != $this->InitialReverseZone)){