From: Petr Skoda Date: Fri, 30 Oct 2009 13:29:14 +0000 (+0000) Subject: MDL-20677 simplified debugging of deprecated use of error() X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=83267ec08ac6747b77822d249bf4b1bbb6cb71d5;p=moodle.git MDL-20677 simplified debugging of deprecated use of error() --- diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index 84ac2dde2d..407586f768 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -1912,11 +1912,9 @@ class moodle_core_renderer extends moodle_renderer_base { * @param string $link Link for the Continue button * @param array $backtrace The execution backtrace * @param string $debuginfo Debugging information - * @param bool $showerrordebugwarning Whether or not to show a debugging warning * @return string the HTML to output. */ - public function fatal_error($message, $moreinfourl, $link, $backtrace, - $debuginfo = null, $showerrordebugwarning = false) { + public function fatal_error($message, $moreinfourl, $link, $backtrace, $debuginfo = null) { $output = ''; @@ -2421,11 +2419,9 @@ class cli_core_renderer extends moodle_core_renderer { * @param string $link Link for the Continue button * @param array $backtrace The execution backtrace * @param string $debuginfo Debugging information - * @param bool $showerrordebugwarning Whether or not to show a debugging warning * @return string A template fragment for a fatal error */ - public function fatal_error($message, $moreinfourl, $link, $backtrace, - $debuginfo = null, $showerrordebugwarning = false) { + public function fatal_error($message, $moreinfourl, $link, $backtrace, $debuginfo = null) { $output = "!!! $message !!!\n"; if (debugging('', DEBUG_DEVELOPER)) {