Code

Allow multiline vacations, hide warnings
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 26 Mar 2007 10:01:04 +0000 (10:01 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 26 Mar 2007 10:01:04 +0000 (10:01 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5884 594d385d-05f5-0310-b6e9-bd551577e9d8

include/sieve/class_semantics.inc

index 1f34d6063e16586faaec517dffda554a57548efe..1c00051c052bb1f477b3eead6c19f9433e7ce445 100644 (file)
@@ -195,7 +195,7 @@ class Semantics
                                                array('occurrences' => '?', 'regex' => ':mime', 'name' => 'mime')
                                        )),
                                        array('class' => 'string', 'occurrences' => '1', 'values' => array(
-                                               array('occurrences' => '1', 'regex' => '".*"', 'name' => 'reason')
+                                               array('occurrences' => '1', 'regex' => '.*', 'name' => 'reason')
                                        ))
                                )
                        );
@@ -456,8 +456,8 @@ class Semantics
                // Check if command may appear here
                if (!ereg($this->s_['valid_after'], $prev))
                {
-                       $this->message = 'line '. $line .': "'. $this->command_ .'" may not appear after "'. $prev .'"';
-                       return false;
+#                      $this->message = 'line '. $line .': "'. $this->command_ .'" may not appear after "'. $prev .'"';
+#                      return false;
                }
 
                return true;