You are here

function mostpopular_drupal_next_run in Drupal Most Popular 7

Implements the 'next_run' callback for the Drupal service.

Always refresh this service immediately, since we don't need to worry about quotas.

Parameters

array $service The service definition.:

integer $span The number of seconds representing the current interval.:

integer $last_run The timestamp at which this service was last run for this interval.:

File

modules/mostpopular_drupal/mostpopular_drupal.module, line 143
This module uses the Drupal statistics module to provide Most Popular data.

Code

function mostpopular_drupal_next_run($service, $span, $last_run) {
  return time();
}