From afb5766a69cb84ceac27dc679089b50cc431c676 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 12 Oct 2010 16:06:08 -0600 Subject: [PATCH] Fix VFS call - this was not supposed to be committed --- imp/lib/Compose.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imp/lib/Compose.php b/imp/lib/Compose.php index 277561cf1..8f030e09c 100644 --- a/imp/lib/Compose.php +++ b/imp/lib/Compose.php @@ -2083,7 +2083,7 @@ class IMP_Compose implements ArrayAccess, Countable, Iterator case 'vfs': try { $vfs = $GLOBALS['injector']->getInstance('Horde_Core_Factory_Vfs')->create(); - $atc['part']->setContents($vfs->readFile(self::VFS_ATTACH_PATH, $atc['filename'])); + $atc['part']->setContents($vfs->read(self::VFS_ATTACH_PATH, $atc['filename'])); } catch (VFS_Exception $e) {} break; @@ -2692,7 +2692,7 @@ class IMP_Compose implements ArrayAccess, Countable, Iterator if ($vfs->exists(self::VFS_DRAFTS_PATH, $filename)) { try { - $data = $vfs->readFile(self::VFS_DRAFTS_PATH, $filename); + $data = $vfs->read(self::VFS_DRAFTS_PATH, $filename); $vfs->deleteFile(self::VFS_DRAFTS_PATH, $filename); } catch (VFS_Exception $e) { return; -- 2.11.0