function drush_warden_update in Warden 6
Same name and namespace in other branches
- 8.2 warden.drush.inc \drush_warden_update()
- 8 warden.drush.inc \drush_warden_update()
- 7 warden.drush.inc \drush_warden_update()
- 3.x warden.drush.inc \drush_warden_update()
Test the connection to warden.
File
- ./
warden.drush.inc, line 43 - Drush integration with the Warden module.
Code
function drush_warden_update() {
module_load_include('inc', 'warden', 'warden.page');
drush_print(dt('Going to update Warden ...'));
try {
_warden_update_warden();
drush_print(dt('... success'));
} catch (Exception $e) {
return drush_set_error($e
->getMessage());
}
}