DevHeads.net

com web/bugs: Remove unused errors handler function handle_pear_errors(): include/functions.php

Link: <a href="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=26f5c264546ea0cb2dcbae96e763683005ec87a7" title="http://git.php.net/?p=web/bugs.git;a=commitdiff;h=26f5c264546ea0cb2dcbae96e763683005ec87a7">http://git.php.net/?p=web/bugs.git;a=commitdiff;h=26f5c264546ea0cb2dcbae...</a>

Log:
Remove unused errors handler function handle_pear_errors()

Function handle_pear_errors() has been made obsolete via
23298a123688443276f60143c1261f85a85873fe

Changed paths:
M include/functions.php

Diff:
diff --git a/include/functions.php b/include/functions.php
index cb6d6aa..8138404 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -1885,21 +1885,6 @@ function get_ticket_links($text)
return $matches[1];
}

-function handle_pear_errors($error_obj)
-{
- error_log($error_obj->getMessage());
- response_header("Oops! We are sorry that you are unable to report an undocumented feature today.");