add WriteMachineStatsHtml, WriteMachineStatsHtml; only write machine

stats by default
This commit is contained in:
Glenn Maynard
2004-05-21 01:52:45 +00:00
parent 7ff0786223
commit cb582d1803
4 changed files with 19 additions and 2 deletions
+4 -1
View File
@@ -700,7 +700,10 @@ bool Profile::SaveAllToDir( CString sDir, bool bSignData ) const
DeleteCategoryScoresFromDirSM390a12( sDir );
}
SaveStatsWebPageToDir( sDir );
const bool bThisIsMachineProfile = (this == PROFILEMAN->GetMachineProfile()); // XXX
if( (bThisIsMachineProfile && PREFSMAN->m_bWriteMachineStatsHtml) ||
(!bThisIsMachineProfile && PREFSMAN->m_bWriteProfileStatsHtml) )
SaveStatsWebPageToDir( sDir );
//
// create edits dir