Remove hardcoded urls

This commit is contained in:
kaetemi 2014-09-12 10:42:42 +02:00
parent 2f6d57864b
commit 036e272392

View file

@ -49,19 +49,11 @@ void browseFAQ(NLMISC::CConfigFile &cf)
}
if (url.empty())
{
// not found ? rely on hardcoded stuff
if (nlstricmp(languageCode, "fr") == 0)
{
url = "http://forums.ryzom.com/forum/showthread.php?t=29130";
}
else if (nlstricmp(languageCode, "de") == 0)
{
url = "http://forums.ryzom.com/forum/showthread.php?t=29131";
}
else
{
url = "http://forums.ryzom.com/forum/showthread.php?t=29129";
}
// not found
nlwarning("No FAQ url");
}
else
{
openURL(url.c_str());
}
openURL(url.c_str());
}