From: skodak Date: Sat, 6 Jan 2007 14:55:56 +0000 (+0000) Subject: fixed warning in error() function - $continue not used there at all, is it? error... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=63f3b3a5513917c188f1279776e218a19b85b51b;p=moodle.git fixed warning in error() function - $continue not used there at all, is it? error() is expected to always terminate execution or should we add new function parameter? --- diff --git a/lib/weblib.php b/lib/weblib.php index a7fb9106a5..cccd2c2a2c 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -4581,10 +4581,6 @@ function error ($message, $link='', $adminroot=false) { echo ' '; } - if ($continue) { - return true; - } - die; }