Remove hardcoded urls
This commit is contained in:
parent
927ecb3dae
commit
50f05a2bb9
1 changed files with 6 additions and 14 deletions
|
@ -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";
|
||||
// not found
|
||||
nlwarning("No FAQ url");
|
||||
}
|
||||
else
|
||||
{
|
||||
url = "http://forums.ryzom.com/forum/showthread.php?t=29129";
|
||||
}
|
||||
}
|
||||
openURL(url.c_str());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue