Changeset 1767

Show
Ignore:
Timestamp:
10/19/07 04:53:32 (14 months ago)
Author:
cfriesen
Message:

I was wondering why none of my feeds were updated..

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/gregarius/extlib/rss_dbcache.inc

    r1765 r1767  
    122122            // We should change the Gregarius UA if we allow refreshInterval to be small 
    123123            $refreshInterval = $this->MAX_AGE; 
    124         } 
     124        } else { 
     125                    $refreshInterval = $refreshInterval * 60; 
     126                } 
    125127 
    126128                setProperty($cid, 'rss.config.refreshdate', 'feed', $dateRefreshed); 
    127129 
    128         if ( $refreshInterval * 60  > $age ) { 
     130        if ( $refreshInterval >= $age ) { 
    129131            // object exists and is current 
    130132                        print("HIT");