Code

Reverted crappy patch
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 19 Oct 2009 13:17:15 +0000 (13:17 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 19 Oct 2009 13:17:15 +0000 (13:17 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14604 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc

index 79f3c101a5b111f7fc17868ef772eb0e1b2b9d34..105d9565db00261eca8d23d45608b98ad50171e0 100644 (file)
@@ -198,12 +198,8 @@ class servnfs extends plugin
       if(empty($this->name)){
         $message[]= msgPool::required(_("Name"));
       }
-      if(!preg_match("/^[a-z0-9\._äüö\$]*$/ui",$this->name)){
-        $message[]= msgPool::invalid(_("Name"),$this->name,"/[a-z0-9\._äüö]\$/ui");
-      } else {
-        if (!preg_match("/^[^\$]+[\$]*\$$/", $this->name)) {
-          $message[] = _("Hidden shares must have a '$' at the end of the name!");
-        }
+      if(!preg_match("/^[a-z0-9\._äüö]*$/ui",$this->name)){
+        $message[]= msgPool::invalid(_("Name"),$this->name,"/[a-z0-9\._äüö]/ui");
       }
     }