You are here

function drush_hacked_list_projects_validate in Hacked! 7.2

Validation callback for drush hacked_list_projects.

File

./hacked.drush.inc, line 166

Code

function drush_hacked_list_projects_validate() {
  if (!function_exists('update_get_available')) {
    return drush_set_error('HACKED_UPDATE_DISABLED', 'Cannot list projects without the Drupal core update module enabled.');
  }
}