mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-34921 course/format: Fix unwanted redirects from Site home
This commit is contained in:
parent
1d3fd63f97
commit
6825560889
@ -1044,7 +1044,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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user