You are here

function update_status_refresh in Update Status 5

Same name and namespace in other branches
  1. 5.2 update_status.module \update_status_refresh()

Fetch data from a central server and save as a variable.

2 calls to update_status_refresh()
update_status_cron in ./update_status.module
Implementation of hook_cron().
update_status_force_status in ./update_status.module
Callback to manually check the update status without cron.

File

./update_status.module, line 231

Code

function update_status_refresh() {
  $projects = array_keys(update_status_get_projects());
  $info = update_status_info($projects);
  variable_set('update_status', $info);
}