Merge branch 'MDL-34921_28_unwanted-sitehome-redirects' of https://github.com/colin-umn/moodle into MOODLE_28_STABLE
This commit is contained in:
@@ -964,7 +964,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