From e8a1fd63fc2b2a88bf466ddc347451bfd9ad125f Mon Sep 17 00:00:00 2001 From: Gioele Falcetti Date: Sun, 4 Oct 2020 18:29:43 +0200 Subject: Fix 'news:updater:after-update' command Signed-off-by: Gioele Falcetti --- lib/Command/Updater/AfterUpdate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Command/Updater/AfterUpdate.php b/lib/Command/Updater/AfterUpdate.php index 307dece99..5746ff1e5 100644 --- a/lib/Command/Updater/AfterUpdate.php +++ b/lib/Command/Updater/AfterUpdate.php @@ -44,7 +44,7 @@ class AfterUpdate extends Command protected function execute(InputInterface $input, OutputInterface $output): int { - $count = $input->getArgument('id'); + $count = $input->getArgument('purge_count'); echo $this->itemService->purgeOverThreshold($count); -- cgit v1.2.3