From 05f836bee95f1162a116c8b96c7a91db79acd350 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 30 Nov 2009 00:19:57 -0700 Subject: [PATCH] Tweaks --- imp/lib/Application.php | 2 +- imp/lib/Compose.php | 8 ++++++-- imp/test.php | 3 +-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/imp/lib/Application.php b/imp/lib/Application.php index aedc47c51..20ddf19de 100644 --- a/imp/lib/Application.php +++ b/imp/lib/Application.php @@ -112,7 +112,7 @@ class IMP_Application extends Horde_Registry_Application * Horde_Exception * [DEFAULT] - Authenticate to IMAP/POP server; on no auth redirect to * login screen - * 'no_compress' - (boolean) Controls whether the page should be + * 'nocompress' - (boolean) Controls whether the page should be * compressed. * 'session_control' - (string) Sets special session control limitations: * 'netscape' - TODO; start read/write session diff --git a/imp/lib/Compose.php b/imp/lib/Compose.php index 887bdb77e..fa9833dbb 100644 --- a/imp/lib/Compose.php +++ b/imp/lib/Compose.php @@ -1000,7 +1000,12 @@ class IMP_Compose * 'noattach' - (boolean) Don't add attachment information. * * - * @return array TODO + * @return array An array with the following keys: + *
+     * 'msg' - (string) The MIME message.
+     * 'recipients' - (array) The array of recipients.
+     * 'to' - (string) The recipients list in string format.
+     * 
* @throws Horde_Exception * @throws IMP_Compose_Exception */ @@ -2486,7 +2491,6 @@ class IMP_Compose } $vfs = VFS::singleton($GLOBALS['conf']['vfs']['type'], Horde::getDriverConfig('vfs', $GLOBALS['conf']['vfs']['type'])); - // TODO: Garbage collection? $result = $vfs->writeData(self::VFS_DRAFTS_PATH, hash('md5', Horde_Util::getFormData('user')), $body, true); if ($result instanceof PEAR_Error) { return; diff --git a/imp/test.php b/imp/test.php index 1b2767f23..dd88d8661 100644 --- a/imp/test.php +++ b/imp/test.php @@ -117,11 +117,10 @@ if (!is_readable(HORDE_BASE . '/lib/Test.php')) { } require_once HORDE_BASE . '/lib/Test.php'; -$horde_test = new Horde_Test; +$horde_test = new Horde_Test(); /* IMP version. */ $module = 'IMP'; -require_once dirname(__FILE__) . '/lib/Application.php'; $app = new IMP_Application(); $module_version = $app->version; -- 2.11.0