From 036e272392c2a4fdefc14cf17c448b5b40b42db1 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Fri, 12 Sep 2014 10:42:42 +0200 Subject: [PATCH] Remove hardcoded urls --- code/ryzom/client/src/browse_faq.cpp | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/code/ryzom/client/src/browse_faq.cpp b/code/ryzom/client/src/browse_faq.cpp index 9f8fcd9b0..8311087eb 100644 --- a/code/ryzom/client/src/browse_faq.cpp +++ b/code/ryzom/client/src/browse_faq.cpp @@ -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()); }