Skip to content

Commit

Permalink
Merge pull request #49590 from nextcloud/backport/49587/stable29
Browse files Browse the repository at this point in the history
[stable29] fix(maintenance): Show a success message on data-fingerprint command
  • Loading branch information
nickvergessen authored Dec 5, 2024
2 parents 3ab7ad2 + d7d1fb6 commit c2ff28d
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 @@ -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('<info>Updated data-fingerprint to ' . $fingerPrint . '</info>');
return 0;
}
}

0 comments on commit c2ff28d

Please sign in to comment.