From: Michael M Slusarz Date: Tue, 12 Oct 2010 22:06:08 +0000 (-0600) Subject: Fix VFS call - this was not supposed to be committed X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=afb5766a69cb84ceac27dc679089b50cc431c676;p=horde.git Fix VFS call - this was not supposed to be committed --- 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;