Skip to content

Commit

Permalink
fix(maintenance): Show a success message on data-fingerprint command
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed Dec 2, 2024
1 parent c3b336d commit d1c3c6f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/Command/Maintenance/DataFingerprint.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,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('<info>Updated data-fingerprint to ' . $fingerPrint . '</info>');
return 0;
}
}

0 comments on commit d1c3c6f

Please sign in to comment.