From bf0fb77293139181ec38fbd1d366190b33b185ae Mon Sep 17 00:00:00 2001 From: Ruslan Kabalin Date: Tue, 31 May 2011 12:26:15 +0100 Subject: [PATCH] MDL-27171 messages: avoid using depricated notification method. Signed-off-by: Ruslan Kabalin --- message/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/message/lib.php b/message/lib.php index 3458eed61bb..40272d83513 100644 --- a/message/lib.php +++ b/message/lib.php @@ -2344,7 +2344,7 @@ function translate_message_default_setting($plugindefault, $processorname) { // Validate the value. It should not exceed the maximum size if (!is_int($plugindefault) || ($plugindefault > 0x0f)) { - notify(get_string('errortranslatingdefault', 'message')); + $OUTPUT->notification(get_string('errortranslatingdefault', 'message'), 'notifyproblem'); $plugindefault = $default; } // Use plugin default setting of 'permitted' is 0