You are here

function drush_site_audit_site_audit_version in Site Audit 7

Same name and namespace in other branches
  1. 8.2 site_audit.drush.inc \drush_site_audit_site_audit_version()

Display the Site Audit version.

1 string reference to 'drush_site_audit_site_audit_version'
site_audit_drush_command in ./site_audit.drush.inc
Implements hook_drush_command().

File

./site_audit.drush.inc, line 810
Drupal site auditing commands.

Code

function drush_site_audit_site_audit_version() {
  $info = parse_ini_file(SITE_AUDIT_BASE_PATH . '/site_audit.info');
  drush_print(dt('Site Audit v@site_audit_version', array(
    '@site_audit_version' => $info['site_audit_version'],
  )));
}