diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-12-31 14:18:22 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-12-31 14:18:22 +0000 |
commit | ebeaaedc8f4395afa220072eddf617bea81d59d0 (patch) | |
tree | 9eef7e1de6edee81019fec14de3373ee89c74b7e /modules/drupal/drupal.module | |
parent | 16051d46a94f360db508fc1fce436fa718f70e20 (diff) | |
download | brdo-ebeaaedc8f4395afa220072eddf617bea81d59d0.tar.gz brdo-ebeaaedc8f4395afa220072eddf617bea81d59d0.tar.bz2 |
- Patch 42498 by m3avrck: unified cron-trackers and added a section that lets you figure out whether cron is running (usability improvement).
Diffstat (limited to 'modules/drupal/drupal.module')
-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. |