From abbd8b5a3f36edd2c77e7bd6f1ce0b23876cc5be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 10 May 2011 11:24:20 +0200 Subject: [PATCH] Drop last occurence of warning class for messages --- libraries/Error.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/Error.class.php b/libraries/Error.class.php index c499d8da0..2cfd5fe75 100644 --- a/libraries/Error.class.php +++ b/libraries/Error.class.php @@ -47,15 +47,15 @@ class PMA_Error extends PMA_Message */ static public $errorlevel = array ( E_ERROR => 'error', - E_WARNING => 'warning', + E_WARNING => 'error', E_PARSE => 'error', E_NOTICE => 'notice', E_CORE_ERROR => 'error', - E_CORE_WARNING => 'warning', + E_CORE_WARNING => 'error', E_COMPILE_ERROR => 'error', - E_COMPILE_WARNING => 'warning', + E_COMPILE_WARNING => 'error', E_USER_ERROR => 'error', - E_USER_WARNING => 'warning', + E_USER_WARNING => 'error', E_USER_NOTICE => 'notice', E_STRICT => 'notice', E_DEPRECATED => 'notice',