function _warden_update_warden in Warden 6
Same name and namespace in other branches
- 7 warden.page.inc \_warden_update_warden()
Update Warden with latest site data.
Throws
Exception If any problems occur.
2 calls to _warden_update_warden()
- drush_warden_update in ./
warden.drush.inc - Test the connection to warden.
- warden_status_page in ./
warden.page.inc - Page callback.
File
- ./
warden.page.inc, line 144 - Logic for warden output
Code
function _warden_update_warden() {
$data = _warden_generate_site_data();
warden_get_api()
->postSiteData($data);
}