Commit d2926fd9 authored by Camille Tardy's avatar Camille Tardy

remove edit course button in scroll header

parent 89dc21c8
......@@ -620,7 +620,6 @@ class core_renderer extends \theme_boost\output\core_renderer {
$html .= html_writer::end_tag('p');
$html .= html_writer::start_div('ml-auto scroll-header-buttons');
$html .= $this->course_edit_mode_button();
// If the course is not a "singleactivity"
if ($this->page->course->format != "singleactivity" AND $this->page->course->format != "social") {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment