diff options
author | Tim Jenssen <tim.jenssen@nokia.com> | 2012-05-07 15:15:49 +0200 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@nokia.com> | 2012-05-07 15:22:34 +0200 |
commit | 856d3bb01ae91e41770c4e5a1ae74ffcfdfed594 (patch) | |
tree | 6af7f8557711d59219358406e9c057bae668ce5b | |
parent | 9cb8029b4e7046424ff5fdfe67870a35e4671bd0 (diff) |
remove unneeded method in the uninstall case
- an uninstallation is basically running the undo operation on all
ran/saved operations, for this no scripts are needed and usually
they are not loaded to run the uninstaller(maybe there is a bug if
the user used the previous button of the maintenance tool in the
packagemanager or updater mode)
- both removed methods using things from script which shouldn't load
in the uninstall only mode
- what should do an uninstaller if they need to close an application
to run correctly, till now this is not needed because if the delete
method of the installer can't remove a file it moves it to the temp
directory
Change-Id: Ia8d8337b64450473fd400a4c5b2fc2d96daefecc
Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
-rw-r--r-- | src/libs/installer/packagemanagercore_p.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libs/installer/packagemanagercore_p.cpp b/src/libs/installer/packagemanagercore_p.cpp index 64d384c24..7f7330934 100644 --- a/src/libs/installer/packagemanagercore_p.cpp +++ b/src/libs/installer/packagemanagercore_p.cpp @@ -1722,10 +1722,6 @@ void PackageManagerCorePrivate::runUninstaller() const int uninstallOperationCount = countProgressOperations(undoOperations); const double undoOperationProgressSize = double(1) / double(uninstallOperationCount); - //yes uninstallation is like an update on the component so please inform the user to stop processes - callBeginInstallation(m_core->availableComponents()); - stopProcessesForUpdates(m_core->availableComponents()); - runUndoOperations(undoOperations, undoOperationProgressSize, adminRightsGained, false); // No operation delete here, as all old undo operations are deleted in the destructor. |