@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

PHPMailer: Remove a check for PHP 5.0

Summary:
Phorge requires PHP 5.5, thus remove a version check for PHP 5.0.
Compare the same code in https://github.com/PHPMailer/PHPMailer/blob/master/src/POP3.php#L282-L283

Test Plan: Carefully read the code.

Reviewers: O1 Blessed Committers, speck

Reviewed By: O1 Blessed Committers, speck

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25661

+2 -11
+2 -11
externals/phpmailer/class.pop3.php
··· 239 239 } 240 240 241 241 // Increase the stream time-out 242 - 243 - // Check for PHP 4.3.0 or later 244 - if (version_compare(phpversion(), '5.0.0', 'ge')) { 245 - stream_set_timeout($this->pop_conn, $tval, 0); 246 - } else { 247 - // Does not work on Windows 248 - if (substr(PHP_OS, 0, 3) !== 'WIN') { 249 - socket_set_timeout($this->pop_conn, $tval, 0); 250 - } 251 - } 242 + stream_set_timeout($this->pop_conn, $tval, 0); 252 243 253 244 // Get the POP3 server response 254 245 $pop3_response = $this->getResponse(); ··· 404 395 405 396 // End of class 406 397 } 407 - ?> 398 + ?>