Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core/ajax
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-01-19 16:00:27 +0300
committerMorris Jobke <hey@morrisjobke.de>2018-01-19 16:00:27 +0300
commitc70927eaa0d558575ee63b149005ae9ed17e88df (patch)
tree077f02eba8ad1f50e332c29a47efd4b09fc6f5ba /core/ajax
parentfdd7a5325006d5ff023f04fab32627e08393f053 (diff)
Remove not needed 3rdparty app disabling during upgrade for PHP 5.x
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core/ajax')
-rw-r--r--core/ajax/update.php7
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]);
}