Skip to content

Commit

Permalink
remove duplicate code already executed by CNetworkServices::StartAirP…
Browse files Browse the repository at this point in the history
…layServer()
  • Loading branch information
Montellese committed May 19, 2013
1 parent 721fa77 commit f4bd890
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions xbmc/network/NetworkServices.cpp
Expand Up @@ -215,13 +215,6 @@ bool CNetworkServices::OnSettingChanging(const CSetting *setting)
return false;
}

if (!CAirPlayServer::SetCredentials(CSettings::Get().GetBool("services.useairplaypassword"),
CSettings::Get().GetString("services.airplaypassword")))
{
CGUIDialogOK::ShowAndGetInput(g_localizeStrings.Get(1273), "", g_localizeStrings.Get(33100), "");
return false;
}

if (!StartAirTunesServer())
{
CGUIDialogOK::ShowAndGetInput(g_localizeStrings.Get(1274), "", g_localizeStrings.Get(33100), "");
Expand Down

0 comments on commit f4bd890

Please sign in to comment.