Permalink
Browse files

MDL-27171 messages: avoid using depricated notification method.

Signed-off-by: Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
  • Loading branch information...
1 parent 72e6af0 commit bf0fb77293139181ec38fbd1d366190b33b185ae Ruslan Kabalin committed May 31, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 message/lib.php
View
@@ -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

0 comments on commit bf0fb77

Please sign in to comment.