Merge branch 'wip-MDL-49888-master' of git://github.com/abgreeve/moodle

This commit is contained in:
Andrew Nicols
2015-04-29 12:18:52 +08:00
8 changed files with 145 additions and 5 deletions
+1 -1
View File
@@ -4220,7 +4220,7 @@ class settings_navigation extends navigation_node {
// Add the user profile to the dashboard.
$profilenode = $dashboard->add(get_string('myprofile'), new moodle_url('/user/profile.php',
array('id' => $user->id)), null, 'myprofile');
array('id' => $user->id)), self::TYPE_SETTING, null, 'myprofile');
if (!empty($CFG->navadduserpostslinks)) {
// Add nodes for forum posts and discussions if the user can view either or both