]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/class-pop3.php
WordPress 4.3-scripts
[autoinstalls/wordpress.git] / wp-includes / class-pop3.php
index d0455d7ef6c52ce48df3e355e61143f9207c4eb5..7d641bf07332ac165b5c82484b6fbf0939319cec 100644 (file)
@@ -44,7 +44,10 @@ class POP3 {
                                 //  This must be set to true
                                 //  manually
 
-    function POP3 ( $server = '', $timeout = '' ) {
+       /**
+        * PHP5 constructor.
+        */
+    function __construct ( $server = '', $timeout = '' ) {
         settype($this->BUFFER,"integer");
         if( !empty($server) ) {
             // Do not allow programs to alter MAILSERVER
@@ -62,6 +65,13 @@ class POP3 {
         return true;
     }
 
+       /**
+        * PHP4 constructor.
+        */
+       public function POP3( $server = '', $timeout = '' ) {
+               self::__construct( $server, $timeout );
+       }
+
     function update_timer () {
         if (!ini_get('safe_mode'))
             set_time_limit($this->TIMEOUT);