From 63f3b3a5513917c188f1279776e218a19b85b51b Mon Sep 17 00:00:00 2001 From: skodak Date: Sat, 6 Jan 2007 14:55:56 +0000 Subject: [PATCH] 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? --- lib/weblib.php | 4 ---- 1 file changed, 4 deletions(-) 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; } -- 2.39.5