function yandex_metrics_cron in Yandex.Metrics 6
Same name and namespace in other branches
- 7 yandex_metrics.module \yandex_metrics_cron()
Implementation of hook_cron().
File
- ./
yandex_metrics.module, line 1038 - The main code of Yandex.Metrics module.
Code
function yandex_metrics_cron() {
// Skip cron execution if Popular Content block is not enabled.
if (!_yandex_metrics_is_popular_content_enabled()) {
return;
}
yandex_metrics_save_popular_content(TRUE);
}