summaryrefslogtreecommitdiff
path: root/plugins/managesieve
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-03-14 13:47:40 +0100
committerAleksander Machniak <alec@alec.pl>2014-03-14 13:47:40 +0100
commit53846f798f5257729efb4505812b3591b1971a39 (patch)
tree541372c7e77e39aebf4a06d48dff58e26e5c1ed2 /plugins/managesieve
parentc29ca0e11d1f1b3e8695935615bf11e447c6ebf6 (diff)
Remove debug code
Diffstat (limited to 'plugins/managesieve')
-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);