summaryrefslogtreecommitdiff
path: root/plugins/managesieve/lib
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-03-14 13:47:40 +0100
committerAleksander Machniak <alec@alec.pl>2014-04-03 18:00:38 +0200
commitfda13f337c074c335d6f0c553d66dfb9ea21b503 (patch)
treec095534a4e7e3d0f801686d45e4009a5a5958137 /plugins/managesieve/lib
parent390eacc2afbd51960562ae0245f26ba6208298ff (diff)
Remove debug code
Diffstat (limited to 'plugins/managesieve/lib')
-rw-r--r--plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php b/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php
index c73d50323..a1bcc86ca 100644
--- a/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php
+++ b/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php
@@ -914,12 +914,9 @@ class rcube_sieve_engine
break;
case 'vacation':
-
$reason = $this->strip_value($reasons[$idx]);
$interval_type = $interval_types[$idx] == 'seconds' ? 'seconds' : 'days';
-console('---------------');
-console($_POST);
-console($reason);
+
$this->form['actions'][$i]['reason'] = str_replace("\r\n", "\n", $reason);
$this->form['actions'][$i]['subject'] = $subject[$idx];
$this->form['actions'][$i]['addresses'] = array_shift($addresses);