summaryrefslogtreecommitdiff
path: root/desktop/source
diff options
context:
space:
mode:
authorJoachim Lingner <jl@openoffice.org>2010-07-15 11:11:50 +0200
committerJoachim Lingner <jl@openoffice.org>2010-07-15 11:11:50 +0200
commiteafd07c25e04d525d726ac5427ea4f619b95daae (patch)
treece2ed93c0576e1b8450df15a6c27f3640040dfa5 /desktop/source
parenta186784b389b90d15976d84172682927080f1197 (diff)
jl154 #162868# undoing: removing registration data folder if the last extension was removed, which was instroduced with eaf4b98ce57a
Diffstat (limited to 'desktop/source')
-rw-r--r--desktop/source/deployment/manager/dp_manager.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/desktop/source/deployment/manager/dp_manager.cxx b/desktop/source/deployment/manager/dp_manager.cxx
index f42940d5c21b..44bc4d469f2f 100644
--- a/desktop/source/deployment/manager/dp_manager.cxx
+++ b/desktop/source/deployment/manager/dp_manager.cxx
@@ -949,15 +949,6 @@ void PackageManagerImpl::removePackage(
contentRemoved.writeStream( xData, true /* replace existing */ );
}
m_activePackagesDB->erase( id, fileName ); // to be removed upon next start
- //Remove the database folder (user installation) completely if this was
- //the last extension. Do not do this for tmp because it is used often
- ActivePackages::Entries id2temp( m_activePackagesDB->getEntries() );
- if (id2temp.size() && !m_context.equals(OUSTR("tmp")))
- {
- erase_path( m_registrationData,
- Reference<XCommandEnvironment>(),
- false /* no throw: ignore errors */ );
- }
}
try_dispose( xPackage );