Ignore:
Timestamp:
2008-05-13T10:58:58+12:00 (16 years ago)
Author:
mdewsnip
Message:

(Untangling colservr/recpt) Deleted setReceptionistServers() from colservr/collectset.cpp, since this required passing in the receptionist, and the colservr should be independent of the receptionist. Changed the one place this function was called (recpt/librarymain.cpp) to do the same functionality.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/src/colservr/collectset.cpp

    r15002 r15401  
    455455  }
    456456}
    457 
    458 void collectset::setReceptionistServers(receptionist &recpt, text_t &gsdlhome)
    459 {
    460   collectservermapclass::iterator here = cservers.begin();
    461   collectservermapclass::iterator end = cservers.end();
    462   while (here != end) {
    463     assert ((*here).second.c != NULL);
    464 
    465     text_tarray colinfo;
    466     colinfo.push_back((*here).second.c->get_collection_name());
    467     colinfo.push_back(gsdlhome);
    468     colinfo.push_back(gsdlhome);
    469     recpt.configure("collectinfo", colinfo);
    470 
    471     ++here;
    472   }
    473 }
Note: See TracChangeset for help on using the changeset viewer.