diff options
Diffstat (limited to 'comphelper/source/misc/backupfilehelper.cxx')
-rw-r--r-- | comphelper/source/misc/backupfilehelper.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/comphelper/source/misc/backupfilehelper.cxx b/comphelper/source/misc/backupfilehelper.cxx index 643201080cc9..98bb029e211f 100644 --- a/comphelper/source/misc/backupfilehelper.cxx +++ b/comphelper/source/misc/backupfilehelper.cxx @@ -2031,9 +2031,9 @@ namespace comphelper deleteDirRecursively(maUserConfigWorkURL + "/uno_packages"); } - bool BackupFileHelper::isTryDeinstallAllExtensionsPossible() + bool BackupFileHelper::isTryResetSharedExtensionsPossible() { - // check if there are other Extensions installed (shared|bundled). + // check if there are shared Extensions installed class ExtensionInfo aExtensionInfo; aExtensionInfo.createUsingExtensionRegistryEntriesFromXML(maUserConfigWorkURL, false); @@ -2041,10 +2041,10 @@ namespace comphelper return !aExtensionInfo.getExtensionInfoEntryVector().empty(); } - void BackupFileHelper::tryDeinstallAllExtensions() + void BackupFileHelper::tryResetSharedExtensions() { - // delete other Extension installs (shared|bundled) - deleteDirRecursively(maUserConfigWorkURL + "/extensions"); + // reset shared extension info + deleteDirRecursively(maUserConfigWorkURL + "/extensions/shared"); } const std::vector< OUString >& BackupFileHelper::getCustomizationDirNames() |