|
@@ -60,7 +60,7 @@ discard block |
|
|
block discarded – undo |
|
60
|
60
|
} |
|
61
|
61
|
} |
|
62
|
62
|
|
|
63
|
|
- $this->dryRun($input, $output, function () use ($client, $obsoleteList, $config, $input, $output) { |
|
|
63
|
+ $this->dryRun($input, $output, function() use ($client, $obsoleteList, $config, $input, $output) { |
|
64
|
64
|
$influxDbClient = $this->getApplication()->getInfluxDbClient( |
|
65
|
65
|
$config->get('influxdb-host'), |
|
66
|
66
|
$config->get('influxdb-port'), |
|
@@ -73,10 +73,10 @@ discard block |
|
|
block discarded – undo |
|
73
|
73
|
|
|
74
|
74
|
$client->removeTorrents($obsoleteList); |
|
75
|
75
|
$names = TorrentListUtils::getArrayField($obsoleteList, Torrent\Get::NAME); |
|
76
|
|
- $output->writeln('Removed torrents:' . implode(', ', $names)); |
|
|
76
|
+ $output->writeln('Removed torrents:'.implode(', ', $names)); |
|
77
|
77
|
}, 'dry-run, don\'t really remove'); |
|
78
|
78
|
|
|
79
|
|
- $output->writeln('Found and deleted ' . count($obsoleteList) . ' obsolete torrents from transmission.'); |
|
|
79
|
+ $output->writeln('Found and deleted '.count($obsoleteList).' obsolete torrents from transmission.'); |
|
80
|
80
|
return 0; |
|
81
|
81
|
} |
|
82
|
82
|
} |
Please login to merge, or discard this patch.