MDL-34921 course/format: Fix unwanted redirects from Site home

This commit is contained in:
Colin Campbell 2015-04-03 16:00:19 -05:00
parent 1d3fd63f97
commit 6825560889

View File

@ -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));
}
/**