Drop last occurence of warning class for messages

This commit is contained in:
Michal Čihař
2011-05-10 11:24:20 +02:00
parent 5e82c3634d
commit abbd8b5a3f

View File

@@ -47,15 +47,15 @@ class PMA_Error extends PMA_Message
*/ */
static public $errorlevel = array ( static public $errorlevel = array (
E_ERROR => 'error', E_ERROR => 'error',
E_WARNING => 'warning', E_WARNING => 'error',
E_PARSE => 'error', E_PARSE => 'error',
E_NOTICE => 'notice', E_NOTICE => 'notice',
E_CORE_ERROR => 'error', E_CORE_ERROR => 'error',
E_CORE_WARNING => 'warning', E_CORE_WARNING => 'error',
E_COMPILE_ERROR => 'error', E_COMPILE_ERROR => 'error',
E_COMPILE_WARNING => 'warning', E_COMPILE_WARNING => 'error',
E_USER_ERROR => 'error', E_USER_ERROR => 'error',
E_USER_WARNING => 'warning', E_USER_WARNING => 'error',
E_USER_NOTICE => 'notice', E_USER_NOTICE => 'notice',
E_STRICT => 'notice', E_STRICT => 'notice',
E_DEPRECATED => 'notice', E_DEPRECATED => 'notice',