From: hickert Date: Mon, 26 Mar 2007 10:01:04 +0000 (+0000) Subject: Allow multiline vacations, hide warnings X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6b5c4ee988adad980c98eb9f8e03b84a9c07c496;p=gosa.git Allow multiline vacations, hide warnings git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5884 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/sieve/class_semantics.inc b/include/sieve/class_semantics.inc index 1f34d6063..1c00051c0 100644 --- a/include/sieve/class_semantics.inc +++ b/include/sieve/class_semantics.inc @@ -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;