MDL-34921 course/format: Fix unwanted redirects from Site home
This commit is contained in:
@@ -936,7 +936,7 @@ class format_site extends format_base {
|
||||
* @return null|moodle_url
|
||||
*/
|
||||
public function get_view_url($section, $options = array()) {
|
||||
return new moodle_url('/');
|
||||
return new moodle_url('/', array('redirect' => 0));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user