felipe          Sun Feb 15 16:03:49 2009 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/imap/tests     skipif.inc 
  Log:
  - Supressing error message for SKIPIF check works as expected
  
http://cvs.php.net/viewvc.cgi/php-src/ext/imap/tests/skipif.inc?r1=1.1.4.3&r2=1.1.4.4&diff_format=u
Index: php-src/ext/imap/tests/skipif.inc
diff -u php-src/ext/imap/tests/skipif.inc:1.1.4.3 
php-src/ext/imap/tests/skipif.inc:1.1.4.4
--- php-src/ext/imap/tests/skipif.inc:1.1.4.3   Fri Dec  5 11:02:55 2008
+++ php-src/ext/imap/tests/skipif.inc   Sun Feb 15 16:03:49 2009
@@ -8,7 +8,7 @@
 $options = OP_HALFOPEN; // this should be enough to verify server present
 $retries = 0; // dont retry connect on failure
 
-$mbox = imap_open($mailbox, $username, $password, $options, $retries);
+$mbox = @imap_open($mailbox, $username, $password, $options, $retries);
 if (!$mbox) {
        die("skip could not connect to mailbox $mailbox");
 }



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to