Index: trunk/phase3/includes/UserMailer.php |
— | — | @@ -219,7 +219,7 @@ |
220 | 220 | self::$mErrorString = ''; |
221 | 221 | $html_errors = ini_get( 'html_errors' ); |
222 | 222 | ini_set( 'html_errors', '0' ); |
223 | | - set_error_handler( array( 'UserMailer', 'errorHandler' ) ); |
| 223 | + set_error_handler( 'UserMailer::errorHandler' ); |
224 | 224 | |
225 | 225 | if ( !is_array( $to ) ) { |
226 | 226 | $to = array( $to ); |
Index: trunk/phase3/includes/Hooks.php |
— | — | @@ -229,7 +229,7 @@ |
230 | 230 | * problem here. |
231 | 231 | */ |
232 | 232 | $retval = null; |
233 | | - set_error_handler( array( 'Hooks', 'hookErrorHandler' ) ); |
| 233 | + set_error_handler( 'Hooks::hookErrorHandler' ); |
234 | 234 | wfProfileIn( $func ); |
235 | 235 | try { |
236 | 236 | $retval = call_user_func_array( $callback, $hook_args ); |