From 50f05a2bb942c0d43aba08b8e101b090dac7c606 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()); }