From: Michael M Slusarz Date: Tue, 9 Jun 2009 21:18:27 +0000 (-0600) Subject: Explicitly mark functions as public. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=1bd9782f87490a06e5773b4b5b481343182bc0fc;p=horde.git Explicitly mark functions as public. --- 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