You are here

function ga_stats_cron in Google Analytics Statistics 7.2

Same name and namespace in other branches
  1. 7 ga_stats.module \ga_stats_cron()
  2. 7.x ga_stats.module \ga_stats_cron()

Implements hook_cron().

File

./ga_stats.module, line 48

Code

function ga_stats_cron() {
  if (ga_stats_is_ready() && ga_stats_needs_update()) {
    ga_stats_update_counts();
  }
}