From d7d1fb6acae5abeb187d4361f3251334dbfefb49 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 2 Dec 2024 08:40:25 +0100 Subject: [PATCH] fix(maintenance): Show a success message on data-fingerprint command Signed-off-by: Joas Schilling --- core/Command/Maintenance/DataFingerprint.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/Command/Maintenance/DataFingerprint.php b/core/Command/Maintenance/DataFingerprint.php index 3c15b95bc05a9..4887d1b68e533 100644 --- a/core/Command/Maintenance/DataFingerprint.php +++ b/core/Command/Maintenance/DataFingerprint.php @@ -43,7 +43,9 @@ protected function configure() { } protected function execute(InputInterface $input, OutputInterface $output): int { - $this->config->setSystemValue('data-fingerprint', md5($this->timeFactory->getTime())); + $fingerPrint = md5($this->timeFactory->getTime()); + $this->config->setSystemValue('data-fingerprint', $fingerPrint); + $output->writeln('Updated data-fingerprint to ' . $fingerPrint . ''); return 0; } }