diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2021-04-05 15:35:19 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2021-04-05 15:35:19 +0300 |
commit | bf4256fff0dc13dcb83c0fb1ff22cbd9618575fc (patch) | |
tree | c8f9f5fa193bb58c76ea0afd097d11f7b21b13d5 /indra/newview/llappviewer.cpp | |
parent | 645cf6a5d26b21cd873238c2ac8417d0b1abd37a (diff) |
SL-15070 FIXED Moving the cache does not remove the "cache" folder from the old location
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rw-r--r-- | indra/newview/llappviewer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 934a3313be..76c38ea024 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -4158,6 +4158,7 @@ bool LLAppViewer::initCache() LL_INFOS("AppCache") << "Cache location changed, cache needs purging" << LL_ENDL; gDirUtilp->setCacheDir(gSavedSettings.getString("CacheLocation")); purgeCache(); // purge old cache + gDirUtilp->deleteDirAndContents(gDirUtilp->getExpandedFilename(LL_PATH_CACHE, cache_dir_name)); gSavedSettings.setString("CacheLocation", new_cache_location); gSavedSettings.setString("CacheLocationTopFolder", gDirUtilp->getBaseFileName(new_cache_location)); } |