From 53846f798f5257729efb4505812b3591b1971a39 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Fri, 14 Mar 2014 13:47:40 +0100 Subject: [PATCH] Remove debug code --- plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php | 5 +---- 1 file changed, 1 insertion(+), 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);