Index: CHANGELOG.txt =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/update_status/CHANGELOG.txt,v retrieving revision 1.11.2.21 diff -u -p -r1.11.2.21 CHANGELOG.txt --- CHANGELOG.txt 1 Jun 2009 18:45:37 -0000 1.11.2.21 +++ CHANGELOG.txt 1 Jun 2009 19:32:28 -0000 @@ -3,6 +3,9 @@ $Id: CHANGELOG.txt,v 1.11.2.21 2009/06/0 Update Status 5.x-2.x-dev o #155450 by JoshuaRogers, dww: Moved cached data into a separate table in the database using a private (non-volatile) cache API. + o #267724 by dww: Fixed bug where update_status was not checking for + new data when the cache was cleared, until the set time was elapsed. + Now update_status checks on cron after the cache was cleared. o #314009 by igor.stamatovski: Added a Macedonian (mk) translation. Index: update_status.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/update_status/update_status.module,v retrieving revision 1.83.2.41 diff -u -p -r1.83.2.41 update_status.module --- update_status.module 1 Jun 2009 18:45:37 -0000 1.83.2.41 +++ update_status.module 1 Jun 2009 19:32:30 -0000 @@ -450,7 +450,9 @@ function _update_status_requirement_chec function update_status_cron() { $frequency = variable_get('update_status_check_frequency', 'daily'); $interval = 60 * 60 * 24 * ($frequency == 'weekly' ? 7 : 1); - if (time() - variable_get('update_status_last', 0) > $interval) { + // Cron should check for updates if there is no update data cached + // or if the configured update interval has elapsed. + if (!_update_status_cache_get('update_status_available_releases') || ((time() - variable_get('update_status_last', 0)) > $interval)) { update_status_refresh(); _update_status_cron_notify(); }