Ignore:
Timestamp:
2001-03-21T11:13:12+12:00 (23 years ago)
Author:
sjboddie
Message:

Fixed a couple of little bugs in the collector - bugs only showed up
when using a persistent version of the library (i.e. the local library
or fastcgi)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/receptionist.cpp

    r2212 r2218  
    12961296}
    12971297
     1298// removes a collection from the cache so that the next
     1299// call to get_collectinfo_ptr() for that collection will
     1300// retrieve the collection info from the collection server
     1301void receptionist::uncache_collection (const text_t &collection) {
     1302
     1303  colinfo_tmap::iterator it = configinfo.collectinfo.find (collection);
     1304  if ((it != configinfo.collectinfo.end()) && ((*it).second.info_loaded)) {
     1305
     1306    (*it).second.info_loaded = false;
     1307
     1308  }
     1309}
     1310
    12981311// Handles an "Encoding" line from a configuration file - note that the
    12991312// configinfo.encodings map is a bit of a hack (to be fixed when the
Note: See TracChangeset for help on using the changeset viewer.