Skip to content
Snippets Groups Projects
Commit 13fe905b authored by Oz Linden's avatar Oz Linden
Browse files

disable willing-to-test for Test viewers

parent 7cc81784
No related branches found
No related tags found
No related merge requests found
...@@ -2938,7 +2938,17 @@ void LLAppViewer::initUpdater() ...@@ -2938,7 +2938,17 @@ void LLAppViewer::initUpdater()
std::string version = LLVersionInfo::getVersion(); std::string version = LLVersionInfo::getVersion();
std::string service_path = gSavedSettings.getString("UpdaterServicePath"); std::string service_path = gSavedSettings.getString("UpdaterServicePath");
U32 check_period = gSavedSettings.getU32("UpdaterServiceCheckPeriod"); U32 check_period = gSavedSettings.getU32("UpdaterServiceCheckPeriod");
bool willing_to_test = gSavedSettings.getBOOL("UpdaterWillingToTest"); bool willing_to_test;
LL_DEBUGS("UpdaterService") << "channel " << channel << LL_ENDL;
if (channel.find("Test") != std::string::npos) // TBD - should be a regex
{
LL_INFOS("UpdaterService") << "Test build: overriding willing_to_test by sending testno" << LL_ENDL;
willing_to_test = false;
}
else
{
willing_to_test = gSavedSettings.getBOOL("UpdaterWillingToTest");
}
unsigned char unique_id[MD5HEX_STR_SIZE]; unsigned char unique_id[MD5HEX_STR_SIZE];
if ( ! llHashedUniqueID(unique_id) ) if ( ! llHashedUniqueID(unique_id) )
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment