fix(maintenance): Show a success message on data-fingerprint command

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2024-12-02 08:40:25 +01:00 committed by backportbot[bot]
parent ce568970ca
commit 5612714ec3

View file

@ -43,7 +43,9 @@ class DataFingerprint extends Command {
}
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('<info>Updated data-fingerprint to ' . $fingerPrint . '</info>');
return 0;
}
}