Merge branch 'MDL-34921_28_unwanted-sitehome-redirects' of https://github.com/colin-umn/moodle into MOODLE_28_STABLE

This commit is contained in:
Andrew Nicols
2015-04-23 12:28:21 +08:00
+1 -1
View File
@@ -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));
}
/**