mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-49819 navigation: Messaging breadcrumb edit.
Messaging other users the name in the breadcrumb will now direct to the conversation instead of the user profile. Part of MDL-45774.
This commit is contained in:
parent
f81893572c
commit
83374afd92
@ -207,7 +207,7 @@ $usernode->remove();
|
||||
$settings = $PAGE->settingsnav->find('messages', null);
|
||||
// Add the user we are contacting to the breadcrumb.
|
||||
if (!empty($user2realuser)) {
|
||||
$usernode = $settings->add(fullname($user2), new moodle_url('/user/profile.php', array('id' => $user2->id)));
|
||||
$usernode = $settings->add(fullname($user2), $url);
|
||||
$usernode->make_active();
|
||||
} else {
|
||||
$settings->make_active();
|
||||
|
Loading…
x
Reference in New Issue
Block a user