Changeset:
7f979bf31abd
https://sourceforge.net/p/mrbs/hg-code/ci/7f979bf31abd8eca40667e73a8fd30c37a79cfd9
Author:
Campbell Morrison <[email protected]>
Date:
Fri Oct 02 11:59:16 2015 +0100
Log message:
Changed some WARNING messages to NOTICE messages when there's no need for any
action.
diffstat:
web/internalconfig.inc.php | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (73 lines):
diff -r 95a9fcbc9f69 -r 7f979bf31abd web/internalconfig.inc.php
--- a/web/internalconfig.inc.php Fri Oct 02 11:38:14 2015 +0100
+++ b/web/internalconfig.inc.php Fri Oct 02 11:59:16 2015 +0100
@@ -18,7 +18,7 @@
{
$message = 'Please check your config file. The variable
$provisional_enabled ' .
'is no longer used and has been replaced by $approval_enabled.';
- trigger_error($message, E_USER_WARNING);
+ trigger_error($message, E_USER_NOTICE);
$approval_enabled = ($provisional_enabled) ? TRUE : FALSE;
}
@@ -31,7 +31,7 @@
$message = 'Please check your config file. The variable
$mail_settings["admin_all"] ' .
'is no longer used and has been replaced by
$mail_settings["on_change"], ' .
'$mail_settings["on_change"] and $mail_settings["on_delete"].';
- trigger_error($message, E_USER_WARNING);
+ trigger_error($message, E_USER_NOTICE);
$mail_settings['on_change'] = ($mail_settings['admin_all']) ? TRUE : FALSE;
}
@@ -39,7 +39,7 @@
{
$message = 'Please check your config file. The variable
$mail_settings["admin_on_delete"] ' .
'is no longer used and has been replaced by
$mail_settings["on_delete"].';
- trigger_error($message, E_USER_WARNING);
+ trigger_error($message, E_USER_NOTICE);
$mail_settings['on_delete'] = ($mail_settings['admin_on_delete']) ? TRUE :
FALSE;
}
@@ -56,21 +56,21 @@
{
$message = 'Please check your config file. The variable $highlight_method
' .
'is no longer used and is redundant.';
- trigger_error($message, E_USER_WARNING);
+ trigger_error($message, E_USER_NOTICE);
}
if (isset($javascript_cursor))
{
$message = 'Please check your config file. The variable $javascript_cursor
' .
'is no longer used and is redundant.';
- trigger_error($message, E_USER_WARNING);
+ trigger_error($message, E_USER_NOTICE);
}
if (isset($mail_charset))
{
$message = 'Please check your config file. The variable $mail_charset ' .
'is no longer used. All emails are sent as UTF-8.';
- trigger_error($message, E_USER_WARNING);
+ trigger_error($message, E_USER_NOTICE);
}
// Variables no longer used in versions of MRBS > 1.4.11
@@ -118,7 +118,7 @@
{
$message = 'Please check your config file. The variable $maxlength ' .
'is no longer used and maximum field lengths are now calculated
automatically.';
- trigger_error($message, E_USER_WARNING);
+ trigger_error($message, E_USER_NOTICE);
}
if ($dbsys == 'mysql')
@@ -126,7 +126,7 @@
$dbsys = 'mysqli';
$message = "Please check your config file. The 'mysql' option for " .
'$dbsys has been removed and you should now use ' . "'mysqli'";
- trigger_error($message, E_USER_WARNING);
+ trigger_error($message, E_USER_NOTICE);
}
------------------------------------------------------------------------------
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits