From 272c49b8ca54267634f94d7fdde7c2c2040df165 Mon Sep 17 00:00:00 2001 From: thomasb Date: Mon, 16 Jan 2012 15:14:41 +0000 Subject: Merged devel-framework branch (r5746:5779) back into trunk git-svn-id: https://svn.roundcube.net/trunk@5781 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/mail/viewsource.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roundcubemail/program/steps/mail/viewsource.inc') diff --git a/roundcubemail/program/steps/mail/viewsource.inc b/roundcubemail/program/steps/mail/viewsource.inc index e2b4e1b61..c9aeac4c1 100644 --- a/roundcubemail/program/steps/mail/viewsource.inc +++ b/roundcubemail/program/steps/mail/viewsource.inc @@ -24,7 +24,7 @@ ob_end_clean(); // similar code as in program/steps/mail/get.inc if ($uid = get_input_value('_uid', RCUBE_INPUT_GET)) { - $headers = $RCMAIL->imap->get_headers($uid); + $headers = $RCMAIL->storage->get_message_headers($uid); $charset = $headers->charset ? $headers->charset : $CONFIG['default_charset']; header("Content-Type: text/plain; charset={$charset}"); @@ -44,7 +44,7 @@ if ($uid = get_input_value('_uid', RCUBE_INPUT_GET)) header("Content-Disposition: attachment; filename=\"$filename\""); } - $RCMAIL->imap->print_raw_body($uid); + $RCMAIL->storage->print_raw_body($uid); } else { -- cgit v1.2.3