function _update_status_get_fetch_url_base in Update Status 5.2
Return the base of the URL to fetch available update data for a project.
Parameters
$project: The array of project information from update_status_get_projects().
Return value
The base of the URL used for fetching available update data. This does not include the path elements to specify a particular project, version, site_key, etc.
See also
_update_status_build_fetch_url()
2 calls to _update_status_get_fetch_url_base()
- update_status_refresh in ./
update_status.module - Fetch project info via XML from a central server.
- _update_status_build_fetch_url in ./
update_status.module - Generates the URL to fetch information about project updates.
File
- ./
update_status.module, line 1632
Code
function _update_status_get_fetch_url_base($project) {
return isset($project['info']['project status url']) ? $project['info']['project status url'] : variable_get('update_status_fetch_url', UPDATE_STATUS_DEFAULT_URL);
}