Skip to content

Commit

Permalink
Fix Deltek's issue: Altering the disk cache size is spammy
Browse files Browse the repository at this point in the history
  • Loading branch information
LiruMouse committed Apr 15, 2016
1 parent b05f6ee commit de95e07
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions indra/newview/llpanelnetwork.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -161,8 +161,11 @@ void LLPanelNetwork::cancel()
void LLPanelNetwork::onClickClearCache(void*) void LLPanelNetwork::onClickClearCache(void*)
{ {
// flag client cache for clearing next time the client runs // flag client cache for clearing next time the client runs
gSavedSettings.setBOOL("PurgeCacheOnNextStartup", TRUE); if (!gSavedSettings.getBOOL("PurgeCacheOnNextStartup"))
LLNotificationsUtil::add("CacheWillClear"); {
gSavedSettings.setBOOL("PurgeCacheOnNextStartup", TRUE);
LLNotificationsUtil::add("CacheWillClear");
}
} }


// static // static
Expand Down

0 comments on commit de95e07

Please sign in to comment.