mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-14 00:49:41 -05:00
don't create wiki dataservice if wiki is not enabled for compile
This commit is contained in:
parent
72812be7be
commit
9cb81f57ea
@ -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…
Reference in New Issue
Block a user