aboutsummaryrefslogtreecommitdiffstats
path: root/core/ajax
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-08-22 16:24:35 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-08-25 16:13:47 +0200
commit5aac997d448da55f1c43648b1e5cf1a9c1360d6c (patch)
treed5256789f739892cd5d4b4aa8954f1071f54b7de /core/ajax
parent4f260dce6e43ddef835105a1d4dc13f2b8742526 (diff)
downloadnextcloud-server-5aac997d448da55f1c43648b1e5cf1a9c1360d6c.tar.gz
nextcloud-server-5aac997d448da55f1c43648b1e5cf1a9c1360d6c.zip
Remove listeners of \OC\DB\Migrator::checkTable which is never emitted
See commit a2f3077ee802b4b291ba4f846bfceb69ec0f225f from PR #24384 Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'core/ajax')
-rw-r--r--core/ajax/update.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/core/ajax/update.php b/core/ajax/update.php
index 8682f47353d..3d3af92cd93 100644
--- a/core/ajax/update.php
+++ b/core/ajax/update.php
@@ -128,11 +128,6 @@ if (\OCP\Util::needUpgrade()) {
$eventSource->send('success', $l->t('[%d / %d]: %s', [$event['step'], $event['max'], $event->getSubject()]));
}
});
- $dispatcher->addListener('\OC\DB\Migrator::checkTable', function ($event) use ($eventSource, $l) {
- if ($event instanceof GenericEvent) {
- $eventSource->send('success', $l->t('[%d / %d]: Checking table %s', [$event['step'], $event['max'], $event->getSubject()]));
- }
- });
$feedBack = new FeedBackHandler($eventSource, $l);
$dispatcher->addListener('\OC\Repair::startProgress', [$feedBack, 'handleRepairFeedback']);
$dispatcher->addListener('\OC\Repair::advance', [$feedBack, 'handleRepairFeedback']);