Skip to content

Commit

Permalink
Merge pull request #49591 from nextcloud/backport/49587/stable30
Browse files Browse the repository at this point in the history
[stable30] fix(maintenance): Show a success message on data-fingerprint command
  • Loading branch information
skjnldsv authored Dec 12, 2024
2 parents 418755b + 590e765 commit 3ea30b4
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 3ea30b4

Please sign in to comment.