mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 06:35:08 -04:00
don't create wiki dataservice if wiki is not enabled for compile
This commit is contained in:
parent
72812be7be
commit
9cb81f57ea
1 changed files with 1 additions and 2 deletions
|
@ -1372,12 +1372,11 @@ int RsServer::StartupRetroShare()
|
|||
|
||||
/**** Wiki GXS service ****/
|
||||
|
||||
|
||||
#ifdef RS_USE_WIKI
|
||||
RsGeneralDataService* wiki_ds = new RsDataService(currGxsDir + "/", "wiki_db",
|
||||
RS_SERVICE_GXS_TYPE_WIKI,
|
||||
NULL, rsInitConfig->gxs_passwd);
|
||||
|
||||
#ifdef RS_USE_WIKI
|
||||
p3Wiki *mWiki = new p3Wiki(wiki_ds, NULL, mGxsIdService);
|
||||
// create GXS wiki service
|
||||
RsGxsNetService* wiki_ns = new RsGxsNetService(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue