diff options
Diffstat (limited to 'modules/drupal')
-rw-r--r-- | modules/drupal/drupal.module | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/drupal/drupal.module b/modules/drupal/drupal.module index c42d2c134..fe25a0f3b 100644 --- a/modules/drupal/drupal.module +++ b/modules/drupal/drupal.module @@ -74,8 +74,7 @@ function drupal_settings() { * Implementation of hook_cron(); handles pings to and from the site. */ function drupal_cron() { - if (time() - variable_get('drupal_cron_last', 0) > 21600) { - variable_set('drupal_cron_last', time()); + if (time() - variable_get('cron_last', 0) > 21600) { // If this site acts as a Drupal XML-RPC server, delete the sites that // stopped sending "ping" messages. |