Changeset 833 for trunk/admin


Ignore:
Timestamp:
Aug 19, 2005, 3:54:40 PM (19 years ago)
Author:
plg
Message:
  • modification : RSS feed work only with a given feed identifier. Thus we can avoid fixed frequency notification to concentrate on variable frequency notification, which is much more interesting. To do this, feeds have moved to a dedicated table allowing each user (including guest user) to have more than on feed.
Location:
trunk/admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions.php

    r825 r833  
    12931293  $tables =
    12941294    array(
     1295      USER_FEED_TABLE,
    12951296      USER_INFOS_TABLE,
    12961297      USER_ACCESS_TABLE,
  • trunk/admin/maintenance.php

    r809 r833  
    7373    break;
    7474  }
     75  case 'feeds' :
     76  {
     77    $query = '
     78DELETE
     79  FROM '.USER_FEED_TABLE.'
     80  WHERE last_check IS NULL
     81;';
     82    pwg_query($query);
     83    break;
     84  }
    7585  default :
    7686  {
     
    92102    'U_MAINT_IMAGES' => add_session_id($start_url.'images'),
    93103    'U_MAINT_HISTORY' => add_session_id($start_url.'history'),
    94     'U_MAINT_SESSIONS' => add_session_id($start_url.'sessions')
     104    'U_MAINT_SESSIONS' => add_session_id($start_url.'sessions'),
     105    'U_MAINT_FEEDS' => add_session_id($start_url.'feeds'),
    95106    )
    96107  );
Note: See TracChangeset for help on using the changeset viewer.