Explicitly mark functions as public.
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 9 Jun 2009 21:18:27 +0000 (15:18 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 9 Jun 2009 21:18:27 +0000 (15:18 -0600)
imp/lib/Compose.php
imp/lib/Imap.php

index 191f2c8..0cd4bb3 100644 (file)
@@ -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;
index c5540c1..3655036 100644 (file)
@@ -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