From 1bd9782f87490a06e5773b4b5b481343182bc0fc Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 9 Jun 2009 15:18:27 -0600 Subject: [PATCH] Explicitly mark functions as public. --- imp/lib/Compose.php | 2 +- imp/lib/Imap.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/imp/lib/Compose.php b/imp/lib/Compose.php index 191f2c8d8..0cd4bb331 100644 --- a/imp/lib/Compose.php +++ b/imp/lib/Compose.php @@ -123,7 +123,7 @@ class IMP_Compose * Store a serialized version of ourself in the current session on * shutdown. */ - function __destruct() + public function __destruct() { if ($this->_modified) { $this->_modified = false; diff --git a/imp/lib/Imap.php b/imp/lib/Imap.php index c5540c166..365503676 100644 --- a/imp/lib/Imap.php +++ b/imp/lib/Imap.php @@ -51,7 +51,7 @@ class IMP_Imap /** * Constructor. */ - function __construct() + public function __construct() { /* Register the logging callback. */ Horde_Imap_Client_Exception::$logCallback = array($this, 'logException'); @@ -63,7 +63,7 @@ class IMP_Imap /** * Save the Horde_Imap_Client object on session shutdown. */ - function __destruct() + public function __destruct() { /* Only need to serialize object once a second. When we do serialize, * make sure we login in order to ensure we have done the necessary -- 2.11.0