function prod_monitor_fetch_data in Production check & Production monitor 7
Same name and namespace in other branches
- 6 prod_monitor/includes/prod_monitor.admin.inc \prod_monitor_fetch_data()
Callback to fetch site data
1 string reference to 'prod_monitor_fetch_data'
- prod_monitor_menu in prod_monitor/
prod_monitor.module - Implementation of hook_menu(). Note: do not use t() in this hook! Translation is handled by core!
File
- prod_monitor/
includes/ prod_monitor.admin.inc, line 651
Code
function prod_monitor_fetch_data($id) {
$site_info = _prod_monitor_get_site($id, 'all');
// First: all checks.
_prod_monitor_retrieve_data($id, $site_info, TRUE);
// MUST be second because of the status update!
_prod_monitor_db_connect_check($id, $site_info);
drupal_goto('admin/reports/prod-monitor/site/' . $id);
}