You are here

function drush_warden_update in Warden 7

Same name and namespace in other branches
  1. 8.2 warden.drush.inc \drush_warden_update()
  2. 8 warden.drush.inc \drush_warden_update()
  3. 6 warden.drush.inc \drush_warden_update()
  4. 3.x warden.drush.inc \drush_warden_update()

Test the connection to warden.

File

./warden.drush.inc, line 47
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());
  }
}