MDL-27171 messages: avoid using depricated notification method.

Signed-off-by: Ruslan Kabalin <[email protected]>
This commit is contained in:
Ruslan Kabalin
2011-05-31 12:26:15 +01:00
parent 72e6af0344
commit bf0fb77293
+1 -1
View File
@@ -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