mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
Merge branch 'MDL-46523-master' of git://github.com/jethac/moodle
This commit is contained in:
commit
68373c7821
@ -827,6 +827,10 @@ class core_renderer extends renderer_base {
|
||||
$this->page->add_body_class('userloggedinas');
|
||||
}
|
||||
|
||||
if (is_role_switched($this->page->course->id)) {
|
||||
$this->page->add_body_class('userswitchedrole');
|
||||
}
|
||||
|
||||
// Give themes a chance to init/alter the page object.
|
||||
$this->page->theme->init_page($this->page);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user