We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 165aaa4 commit d74cc25Copy full SHA for d74cc25
bootstrap.php
@@ -253,13 +253,17 @@ function imap2_close($imap, $flags = 0)
253
if (!function_exists('imap_timeout')) {
254
function imap_timeout($timeoutType, $timeout = -1)
255
{
256
- return Connection::close($timeoutType, $timeout);
+ return imap2_timeout($timeoutType, $timeout);
257
}
258
259
if (!function_exists('imap2_timeout')) {
260
function imap2_timeout($timeoutType, $timeout = -1)
261
262
+ if (IMAP2_RETROFIT_MODE) {
263
+ imap_timeout($timeoutType, $timeout);
264
+ }
265
+
266
+ return Connection::timeout($timeoutType, $timeout);
267
268
269
0 commit comments