Fix Deltek's issue: Altering the disk cache size is spammy
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user