X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/f5fcdc7994bb67cce809bc4777944ae8b7fad4a4..53f4633144ed68c8b8fb5861f992b5489894a940:/wp-includes/class-pop3.php?ds=sidebyside diff --git a/wp-includes/class-pop3.php b/wp-includes/class-pop3.php index d0455d7e..7d641bf0 100644 --- a/wp-includes/class-pop3.php +++ b/wp-includes/class-pop3.php @@ -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);