Added flag to disable dbase reset, and disable dummy data creation.

This also switches to alternative test data path - to ensure it will be empty.

Fixed bug in p3idservice related to dummy id creation.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6114 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2013-02-10 15:40:07 +00:00
parent 7867063734
commit 81307de7c9
8 changed files with 79 additions and 16 deletions

View file

@ -64,10 +64,14 @@ void p3Posted::notifyChanges(std::vector<RsGxsNotify *> &changes)
void p3Posted::service_tick()
{
#ifndef GXS_DEV_TESTNET // DISABLE DUMMYDATA if TEST_NET
generateTopics();
generatePosts();
generateVotesAndComments();
#endif
// time_t now = time(NULL);
//
// if((now > (time_t) (VOTE_UPDATE_PERIOD + mLastUpdate)) &&