Missed more of these darned spots.

Gah, losing my touch.
This commit is contained in:
Jason Felds
2013-04-18 22:56:57 -04:00
parent de396800d8
commit bbb57b1600
4 changed files with 3 additions and 51 deletions
-16
View File
@@ -38,7 +38,6 @@ const RString EDIT_COURSES_SUBDIR = "EditCourses/";
//const RString UPLOAD_SUBDIR = "Upload/";
const RString RIVAL_SUBDIR = "Rivals/";
ThemeMetric<bool> SHOW_COIN_DATA( "Profile", "ShowCoinData" );
static Preference<bool> g_bProfileDataCompress( "ProfileDataCompress", false );
static ThemeMetric<RString> UNLOCK_AUTH_STRING( "Profile", "UnlockAuthString" );
#define GUID_SIZE_BYTES 8
@@ -948,8 +947,6 @@ XNode *Profile::SaveStatsXmlCreateNode() const
xml->AppendChild( SaveCategoryScoresCreateNode() );
xml->AppendChild( SaveScreenshotDataCreateNode() );
xml->AppendChild( SaveCalorieDataCreateNode() );
if( SHOW_COIN_DATA.GetValue() && IsMachine() )
xml->AppendChild( SaveCoinDataCreateNode() );
return xml;
}
@@ -1838,19 +1835,6 @@ bool Profile::IsMachine() const
return this == PROFILEMAN->GetMachineProfile();
}
XNode* Profile::SaveCoinDataCreateNode() const
{
CHECKPOINT;
const Profile* pProfile = this;
ASSERT( pProfile != NULL );
XNode* pNode = new XNode( "CoinData" );
return pNode;
}
void Profile::MoveBackupToDir( RString sFromDir, RString sToDir )
{
if( FILEMAN->IsAFile(sFromDir + STATS_XML) &&