MDL-66118 hub: Define the new sites directory URL

The Moodle sites now register with stats.moodle.org so use that as a new
official hub's URL. Beside that, allow for the alternative value be
provided in config.php for development and testing purposes.
This commit is contained in:
David Mudrák
2019-10-04 21:17:06 +02:00
parent a08c238f9e
commit 6d015e29cc
+2 -2
View File
@@ -487,9 +487,9 @@ define('HOMEPAGE_MY', 1);
define('HOMEPAGE_USER', 2);
/**
* Moodle.net url (should be moodle.net)
* URL of the Moodle sites registration portal.
*/
define('HUB_MOODLEORGHUBURL', "https://moodle.net");
defined('HUB_MOODLEORGHUBURL') || define('HUB_MOODLEORGHUBURL', 'https://stats.moodle.org');
/**
* Moodle mobile app service name