mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Merge branch 'MDL-32088-master' of git://github.com/danpoltawski/moodle
This commit is contained in:
commit
a158a85668
@ -79,6 +79,10 @@ $PAGE->set_pagetype('course-view-' . $course->format); // To get the blocks exa
|
||||
$PAGE->add_body_class('path-user'); // So we can style it independently.
|
||||
$PAGE->set_other_editing_capability('moodle/course:manageactivities');
|
||||
|
||||
// Set the Moodle docs path explicitly because the default behaviour
|
||||
// of inhereting the pagetype will lead to an incorrect docs location.
|
||||
$PAGE->set_docs_path('user/profile');
|
||||
|
||||
$isparent = false;
|
||||
|
||||
if (!$currentuser and !$user->deleted
|
||||
|
Loading…
x
Reference in New Issue
Block a user