Skip to content
Browse files

Merge branch 'MDL-31959_m22' of git://github.com/rwijaya/moodle into …

…MOODLE_22_STABLE
  • Loading branch information...
2 parents 32b8a7b + 83d8c6b commit 2335d65949967e077c33d1e6be54650d1f5debee @nebgor nebgor committed Aug 29, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 user/profile.php
View
4 user/profile.php
@@ -61,7 +61,7 @@
if ($user->deleted) {
$PAGE->set_context(get_context_instance(CONTEXT_SYSTEM));
echo $OUTPUT->header();
- echo $OUTPUT->heading(get_string('userdeleted'));
+ echo $OUTPUT->notification(get_string('userdeleted'));
echo $OUTPUT->footer();
die;
}
@@ -82,7 +82,7 @@
$PAGE->set_url('/user/profile.php', array('id'=>$userid));
$PAGE->navbar->add($struser);
echo $OUTPUT->header();
- echo $OUTPUT->heading(get_string('usernotavailable', 'error'));
+ echo $OUTPUT->notification(get_string('usernotavailable', 'error'));
echo $OUTPUT->footer();
exit;
}

0 comments on commit 2335d65

Please sign in to comment.
Something went wrong with that request. Please try again.