MDL-53492 registration: use https://moodle.net as hub url

This commit is contained in:
Marina Glancy
2017-07-31 11:36:18 +08:00
parent a6a6b523ec
commit 94a8d2e2e2
5 changed files with 42 additions and 5 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ class hub_selector_form extends moodleform {
//remove moodle.org from the hub list
foreach ($hubs as $key => $hub) {
if ($hub['url'] == HUB_MOODLEORGHUBURL) {
if ($hub['url'] == HUB_MOODLEORGHUBURL || $hub['url'] == HUB_OLDMOODLEORGHUBURL) {
unset($hubs[$key]);
}
}