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
parent c3b336dbf9
commit d1c3c6f234
No known key found for this signature in database
GPG key ID: F72FA5B49FFA96B0

View file

@ -28,7 +28,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;
}
}