aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
diff options
context:
space:
mode:
authorTobia De Koninck <tobia@ledfan.be>2017-07-22 13:32:56 +0200
committerMorris Jobke <hey@morrisjobke.de>2018-03-06 10:41:55 +0100
commit539fdaea1efa7fa35b321031554af8703d00737c (patch)
tree4d877909bf66e9a4749df474d2f7c407b01612ce /lib/private/legacy
parent3867a74f0d8f17357043a72e38828eb3cbca59f8 (diff)
downloadnextcloud-server-539fdaea1efa7fa35b321031554af8703d00737c.tar.gz
nextcloud-server-539fdaea1efa7fa35b321031554af8703d00737c.zip
Run repair steps on uninstall in all cases
Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
Diffstat (limited to 'lib/private/legacy')
-rw-r--r--lib/private/legacy/app.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/private/legacy/app.php b/lib/private/legacy/app.php
index 16e57d43ebc..eba29d27cf8 100644
--- a/lib/private/legacy/app.php
+++ b/lib/private/legacy/app.php
@@ -431,16 +431,6 @@ class OC_App {
// flush
self::$enabledAppsCache = [];
- // run uninstall steps
- $appData = OC_App::getAppInfo($app);
- if (!is_null($appData)) {
- OC_App::executeRepairSteps($app, $appData['repair-steps']['uninstall']);
- }
-
- // emit disable hook - needed anymore ?
- \OC_Hook::emit('OC_App', 'pre_disable', array('app' => $app));
-
- // finally disable it
$appManager = \OC::$server->getAppManager();
$appManager->disableApp($app);
}