Show
Ignore:
Timestamp:
10/17/07 22:58:01 (12 months ago)
Author:
cfriesen
Message:

Refresh interval in the feed properties.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/gregarius/schema.php

    r1725 r1762  
    144144            // date feed was last refreshed, added in 0.5.3 
    145145            rss_query('alter table ' .getTable('channels') .' add column daterefreshed datetime null default 1'); 
    146             if (rss_is_sql_error(RSS_SQL_ERROR_NO_ERROR)) { 
    147                 $updated++; 
    148                 rss_error("updated schema for table " . getTable('channels'), RSS_ERROR_NOTICE); 
    149             } else { 
    150                 rss_error("Failed updating schema for table " . getTable('channels') 
    151                 .": " . rss_sql_error_message(), RSS_ERROR_ERROR 
    152                 ); 
    153             } 
    154         // break; - fallthrough allowed on purpose because these are added at the same time 
    155         case 'c.refreshinterval': 
    156         case 'refreshinterval': 
    157             // refresh interval of a feed (in minutes), added in 0.5.3 
    158             rss_query('alter table ' .getTable('channels') .' add column refreshinterval int(16) not null default 60'); 
    159146            if (rss_is_sql_error(RSS_SQL_ERROR_NO_ERROR)) { 
    160147                $updated++;