diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-01-20 11:01:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-20 11:01:31 +0100 |
commit | 4d99faae4f816fe49c921eb1e704286d0ca422c2 (patch) | |
tree | ce2caf511a8506c394fbc0b5b0b91fa5bbe86de8 /core/ajax/update.php | |
parent | 2635073909e5d20ca2902d94c671061748267489 (diff) | |
parent | c70927eaa0d558575ee63b149005ae9ed17e88df (diff) | |
download | nextcloud-server-4d99faae4f816fe49c921eb1e704286d0ca422c2.tar.gz nextcloud-server-4d99faae4f816fe49c921eb1e704286d0ca422c2.zip |
Merge pull request #7955 from nextcloud/remove-app-disable-upgrade
Remove not needed 3rdparty app disabling during upgrade for PHP 5.x
Diffstat (limited to 'core/ajax/update.php')
-rw-r--r-- | core/ajax/update.php | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/core/ajax/update.php b/core/ajax/update.php index 2a29d1e536c..239b073dc9e 100644 --- a/core/ajax/update.php +++ b/core/ajax/update.php @@ -120,7 +120,6 @@ if (OC::checkUpgrade(false)) { \OC::$server->query(\OC\Installer::class) ); $incompatibleApps = []; - $disabledThirdPartyApps = []; $dispatcher = \OC::$server->getEventDispatcher(); $dispatcher->addListener('\OC\DB\Migrator::executeSql', function($event) use ($eventSource, $l) { @@ -187,9 +186,6 @@ if (OC::checkUpgrade(false)) { $updater->listen('\OC\Updater', 'incompatibleAppDisabled', function ($app) use (&$incompatibleApps) { $incompatibleApps[]= $app; }); - $updater->listen('\OC\Updater', 'thirdPartyAppDisabled', function ($app) use (&$disabledThirdPartyApps) { - $disabledThirdPartyApps[]= $app; - }); $updater->listen('\OC\Updater', 'failure', function ($message) use ($eventSource, $config) { $eventSource->send('failure', $message); $eventSource->close(); @@ -217,9 +213,6 @@ if (OC::checkUpgrade(false)) { } $disabledApps = []; - foreach ($disabledThirdPartyApps as $app) { - $disabledApps[$app] = (string) $l->t('%s (3rdparty)', [$app]); - } foreach ($incompatibleApps as $app) { $disabledApps[$app] = (string) $l->t('%s (incompatible)', [$app]); } |