You are here

function drush_node_revision_delete_nrd_get_time in Node Revision Delete 7.3

Same name and namespace in other branches
  1. 8 node_revision_delete.drush.inc \drush_node_revision_delete_nrd_get_time()

Callback for the nrd-get-time command.

File

./node_revision_delete.drush.inc, line 310

Code

function drush_node_revision_delete_nrd_get_time() {

  // Getting the values from the config.
  $time = variable_get('node_revision_delete_time');
  $time = _node_revision_delete_time_value($time);
  $message = dt('The frequency with which to delete revisions while cron is running is: @time.', array(
    '@time' => $time,
  ));
  drush_print($message);
}