MDL-66118 hub: Stop using the hub URL as the setting name suffix
authorDavid Mudrák <david@moodle.com>
Tue, 1 Oct 2019 17:52:09 +0000 (19:52 +0200)
committerDavid Mudrák <david@moodle.com>
Fri, 4 Oct 2019 19:23:11 +0000 (21:23 +0200)
commitecc9960ead88582a3e7197e6f339cae940138945
treee174a5e4b011a49e376395c6039e3f30db86fc9b
parentffecbefb06b26d030c0307989f335e976a6865af
MDL-66118 hub: Stop using the hub URL as the setting name suffix

Site indicators shared with the registration hub used to have the hub
URL in the relevant setting names - such as site_name_httpsmoodlenet.
This upgrade step converts all such settings and drops the URL suffix
because we do not support alternative hubs any more.

Additionally the upgrade step renames the official hub and updates its
URL so that existing registrations with https://moodle.net are still
valid.
lib/classes/hub/registration.php
lib/db/upgrade.php
lib/db/upgradelib.php
lib/tests/upgradelib_test.php
version.php