Use default timeout in Horde_Imap_Client::
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 18 Jun 2009 22:46:04 +0000 (16:46 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 18 Jun 2009 22:46:04 +0000 (16:46 -0600)
imp/lib/Imap.php

index 3655036..b5c6158 100644 (file)
@@ -170,7 +170,7 @@ class IMP_Imap
             'port' => isset($server['port']) ? $server['port'] : null,
             'secure' => isset($server['secure']) ? $server['secure'] : false,
             'statuscache' => true,
-            'timeout' => !empty($server['timeout']) ? $server['timeout'] : 10,
+            'timeout' => empty($server['timeout']) ? null : $server['timeout'],
             'username' => $username,
         );