diff options
author | Joachim Lingner <jl@openoffice.org> | 2010-07-15 11:11:50 +0200 |
---|---|---|
committer | Joachim Lingner <jl@openoffice.org> | 2010-07-15 11:11:50 +0200 |
commit | c04bc96760bcb53af09c810a8f3251af4e24d174 (patch) | |
tree | 5400ea490cc3cff81f41364421306de5bff1f1b6 /desktop/source/deployment | |
parent | 5eb244a5af091bcf3e887eb6f2cac669724a65e9 (diff) |
jl154 #162868# undoing: removing registration data folder if the last extension was removed, which was instroduced with eaf4b98ce57a
Diffstat (limited to 'desktop/source/deployment')
-rw-r--r-- | desktop/source/deployment/manager/dp_manager.cxx | 9 |
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 5bdad38e32..4b11136cb9 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 ); |