remove unneeded logging
This commit is contained in:
@@ -482,7 +482,6 @@ bool ProfileManager::RenameLocalProfile( RString sProfileID, RString sNewName )
|
||||
|
||||
bool ProfileManager::DeleteLocalProfile( RString sProfileID )
|
||||
{
|
||||
LOG->Trace( ssprintf("[ProfileManager::DeleteLocalProfile] delete %s",sProfileID.c_str()) );
|
||||
Profile *pProfile = ProfileManager::GetLocalProfile( sProfileID );
|
||||
ASSERT( pProfile );
|
||||
RString sProfileDir = LocalProfileIDToDir( sProfileID );
|
||||
@@ -508,7 +507,7 @@ bool ProfileManager::DeleteLocalProfile( RString sProfileID )
|
||||
}
|
||||
else
|
||||
{
|
||||
LOG->Trace( ssprintf("[ProfileManager::DeleteLocalProfile] DeleteRecursive(%s) failed",sProfileID.c_str()) );
|
||||
LOG->Warn( ssprintf("[ProfileManager::DeleteLocalProfile] DeleteRecursive(%s) failed",sProfileID.c_str()) );
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -299,7 +299,6 @@ void ScreenOptionsManageProfiles::HandleScreenMessage( const ScreenMessage SM )
|
||||
{
|
||||
RString sTitle = pProfile->m_sDisplayName;
|
||||
RString sMessage = ssprintf( CONFIRM_DELETE_PROFILE.GetValue(), sTitle.c_str() );
|
||||
LOG->Trace("[ScreenOptionsManageProfiles] ProfileAction_Delete");
|
||||
ScreenPrompt::Prompt( SM_BackFromDeleteConfirm, sMessage, PROMPT_YES_NO );
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user