? flickr_update_interval.patch
Index: flickr.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/flickr/Attic/flickr.inc,v
retrieving revision 1.25.2.1
diff -u -p -r1.25.2.1 flickr.inc
--- flickr.inc	25 May 2007 16:34:01 -0000	1.25.2.1
+++ flickr.inc	30 May 2007 15:22:44 -0000
@@ -79,7 +79,10 @@ function flickr_request($method, $args, 
   // If it's a cachable request, try to load a cached value.
   if ($cacheable) {
     if ($cache = cache_get("flickr_$arg_hash", 'cache')) {
-      return unserialize($cache->data);
+      // Check that the value is still "fresh".
+      if( $cache->expire > time() ) {
+        return unserialize($cache->data);
+      }
     }
   }
 
Index: flickr.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/flickr/Attic/flickr.module,v
retrieving revision 1.37
diff -u -p -r1.37 flickr.module
--- flickr.module	23 Apr 2007 06:59:05 -0000	1.37
+++ flickr.module	30 May 2007 15:22:44 -0000
@@ -121,10 +121,10 @@ function flickr_admin_settings() {
   $ageoptions = drupal_map_assoc($times, 'format_interval');
   $form['flickr_cache_duration'] = array(
     '#type' => 'select',
-    '#title' => t('Cache for'),
+    '#title' => t('Update interval'),
     '#options' => $ageoptions,
     '#default_value' => variable_get('flickr_cache_duration', 3600),
-    '#description' => t("Results from Flickr API requests will be cached for at least this long."),
+    '#description' => t("The refresh interval indicating how often you want to check cached Flickr API calls are up to date."),
   );
 
   // we need an api key before we can verify usernames
