Skip to content

Commit

Permalink
MDL-66118 hub: Define the new sites directory URL
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mudrd8mz committed Oct 4, 2019
1 parent a08c238 commit 6d015e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/moodlelib.php
Original file line number Diff line number Diff line change
Expand Up @@ -487,9 +487,9 @@
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
Expand Down

0 comments on commit 6d015e2

Please sign in to comment.