You are here

function drush_ga_stats_update in Google Analytics Statistics 7

Same name and namespace in other branches
  1. 7.2 ga_stats.drush.inc \drush_ga_stats_update()

Command callback for ga-stats-update.

File

./ga_stats.drush.inc, line 30

Code

function drush_ga_stats_update() {
  if (ga_stats_update_counts()) {
    drush_log(dt('Retrieved fresh Google Analytics data. Next scheduled retrieval will occur after !time.', array(
      '!time' => date('r', ga_stats_data_expiration_date()),
    )), 'success');
  }
}