]> granicus.if.org Git - php/commitdiff
don't show the call_user_method deprecated use warning (disturbs tests)
authorTomas V.V.Cox <cox@php.net>
Sat, 4 Aug 2001 10:47:10 +0000 (10:47 +0000)
committerTomas V.V.Cox <cox@php.net>
Sat, 4 Aug 2001 10:47:10 +0000 (10:47 +0000)
pear/PEAR.php

index bbdfcfccf0b66476abddb6242f08ae947b897c62..2feafd8f9802b6b3c2fd9f726bde33b05f6e3894 100644 (file)
@@ -497,7 +497,7 @@ class PEAR_Error
                       is_object($this->callback[0]) &&
                       is_string($this->callback[1]) &&
                       strlen($this->callback[1])) {
-                call_user_method($this->callback[1], $this->callback[0],
+                      @call_user_method($this->callback[1], $this->callback[0],
                                  $this);
             }
         }