Code

Removed unused delete Button for FAIclasses
[gosa.git] / plugins / admin / systems / class_SelectDeviceType.inc
index 66c2eed59f48ea8cc7f3d6be2ee1cf789e1ef3aa..65bd07d86a2f495acf0cc65f83f7aae1acf2a59d 100644 (file)
@@ -31,7 +31,7 @@ class SelectDeviceType extends plugin
       $this->ObjectGroups[$attrs['dn']]= $attrs['cn'][0];
     }
 
-    $this->SystemTypes =array("server"=>_("Server"),"workstation"=>_("Workstation"),"terminal"=>_("Terminal"));
+    $this->SystemTypes =array("workstation"=>_("Workstation"), "terminal"=>_("Terminal"), "server"=>_("Server"));
   }
 
   function execute()
@@ -69,7 +69,8 @@ class SelectDeviceType extends plugin
   /* Check supplied data */
   function check()
   {
-    $message= array();
+    /* Call common method to give check the hook */
+    $message= plugin::check();
 
     return ($message);
   }