function drush_warden_update in Warden 8
Same name and namespace in other branches
- 8.2 warden.drush.inc \drush_warden_update()
- 6 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 61 - Drush integration with the Warden module.
Code
function drush_warden_update() {
drush_print(dt('Going to update Warden ...'));
try {
_warden_get_manager()
->updateWarden();
drush_print(dt('... success'));
} catch (Exception $e) {
return drush_set_error($e
->getMessage());
}
}