Permalink
Browse files

Fix Deltek's issue: Altering the disk cache size is spammy

  • Loading branch information...
Lirusaito committed Apr 15, 2016
1 parent b05f6ee commit de95e07907705447cced66ea0f7ffb53ed68525a
Showing with 5 additions and 2 deletions.
  1. +5 −2 indra/newview/llpanelnetwork.cpp
@@ -161,8 +161,11 @@ void LLPanelNetwork::cancel()
void LLPanelNetwork::onClickClearCache(void*)
{
// flag client cache for clearing next time the client runs
gSavedSettings.setBOOL("PurgeCacheOnNextStartup", TRUE);
LLNotificationsUtil::add("CacheWillClear");
if (!gSavedSettings.getBOOL("PurgeCacheOnNextStartup"))
{
gSavedSettings.setBOOL("PurgeCacheOnNextStartup", TRUE);
LLNotificationsUtil::add("CacheWillClear");
}
}
// static

0 comments on commit de95e07

Please sign in to comment.