Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MDL-34921 course/format: Fix unwanted redirects from Site home
[moodle.git]
/
course
/
format
/
lib.php
diff --git
a/course/format/lib.php
b/course/format/lib.php
index
51709b9
..
8d65610
100644
(file)
--- a/
course/format/lib.php
+++ b/
course/format/lib.php
@@
-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)
);
}
/**