Merge branch 'MDL-32670' of git://github.com/rlorenzo/moodle
This commit is contained in:
@@ -27,6 +27,7 @@ $strchat = get_string('modulename', 'chat');
|
||||
/// Print the header
|
||||
$PAGE->navbar->add($strchats);
|
||||
$PAGE->set_title($strchats);
|
||||
$PAGE->set_heading($course->fullname);
|
||||
echo $OUTPUT->header();
|
||||
|
||||
/// Get all the appropriate data
|
||||
|
||||
@@ -39,6 +39,7 @@
|
||||
|
||||
$context = get_context_instance(CONTEXT_MODULE, $cm->id);
|
||||
$PAGE->set_context($context);
|
||||
$PAGE->set_heading($course->fullname);
|
||||
|
||||
require_login($course, false, $cm);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user