Toggles the enabled status of an update site. Update sites are disabled before getting the update information
from their URL and enabled afterwards. If the URL fetch fails with a PHP fatal error (e.g. timeout) the faulty
update site will remain disabled the next time we attempt to load the update information.
Parameters
int$updateSiteId The numeric ID of the update site to enable/disable
bool$enabled Enable the site when true, disable it when false
Should we try appending a .xml extension to the update site's URL?
protected string
$updateSiteName
The name of the update site (used in logging)
protected string
$_url
The update site URL from which we will get the update information
protected int
$minimum_stability
The minimum stability required for updates to be taken into account. The possible values are:
0 dev Development snapshots, nightly builds, pre-release versions and so on
1 alpha Alpha versions (work in progress, things are likely to be broken)
2 beta Beta versions (major functionality in place, show-stopper bugs are likely to be present)
3 rc Release Candidate versions (almost stable, minor bugs might be present)
4 stable Stable versions (production quality code)