From dcc4469844f8ce98bd8323b684e40cf64643e5ae Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Wed, 10 Sep 2014 10:32:28 -0400 Subject: [PATCH] Don't init output in CLI mode --- bin/decrypt.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/bin/decrypt.sh b/bin/decrypt.sh index ff7c430..7f83f3a 100755 --- a/bin/decrypt.sh +++ b/bin/decrypt.sh @@ -60,7 +60,7 @@ die("Usage: " . basename($argv[0]) . " encrypted-hdr-part [encrypted-hdr-part ...]\n"); } -$RCMAIL = rcmail::get_instance(); +$RCMAIL = rcube::get_instance(); for ($i = 1; $i < $argc; $i++) { printf("%s\n", $RCMAIL->decrypt($argv[$i])); -- Gitblit v1.9.1