Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
ed8caff
)
Merge branch 'MDL-34921_master_unwanted-sitehome-redirects' of https://github.com...
author
Andrew Nicols
<andrew@nicols.co.uk>
Thu, 23 Apr 2015 03:49:16 +0000
(11:49 +0800)
committer
Andrew Nicols
<andrew@nicols.co.uk>
Thu, 23 Apr 2015 03:49:16 +0000
(11:49 +0800)
course/format/lib.php
patch
|
blob
|
blame
|
history
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)
);
}
/**