aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federation/lib/Command/SyncFederationAddressBooks.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/federation/lib/Command/SyncFederationAddressBooks.php')
-rw-r--r--apps/federation/lib/Command/SyncFederationAddressBooks.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/federation/lib/Command/SyncFederationAddressBooks.php b/apps/federation/lib/Command/SyncFederationAddressBooks.php
index cad000cf71f..709cd60b3ba 100644
--- a/apps/federation/lib/Command/SyncFederationAddressBooks.php
+++ b/apps/federation/lib/Command/SyncFederationAddressBooks.php
@@ -57,13 +57,11 @@ class SyncFederationAddressBooks extends Command {
* @return int
*/
protected function execute(InputInterface $input, OutputInterface $output) {
-
$progress = new ProgressBar($output);
$progress->start();
$this->syncService->syncThemAll(function ($url, $ex) use ($progress, $output) {
if ($ex instanceof \Exception) {
$output->writeln("Error while syncing $url : " . $ex->getMessage());
-
} else {
$progress->advance();
}