Merge branch 'MDL-32088-master' of git://github.com/danpoltawski/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2015-01-07 02:11:41 +01:00
commit a158a85668

View File

@ -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