function ga_stats_needs_update in Google Analytics Statistics 7
Same name and namespace in other branches
- 7.2 ga_stats.module \ga_stats_needs_update()
 
Determine if a scheduled statistics update is needed.
Return value
bool
1 call to ga_stats_needs_update()
- ga_stats_cron in ./
ga_stats.module  - Implements hook_cron().
 
File
- ./
ga_stats.module, line 59  
Code
function ga_stats_needs_update() {
  return ga_stats_data_expiration_date() <= $_SERVER['REQUEST_TIME'];
}