Skip to content

Commit

Permalink
Merge pull request #49587 from nextcloud/bugfix/noid/success-on-data-…
Browse files Browse the repository at this point in the history
…fingerprint

fix(maintenance): Show a success message on data-fingerprint command
  • Loading branch information
nickvergessen authored Dec 2, 2024
2 parents c3b336d + d1c3c6f commit 6aa8113
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 6aa8113

Please sign in to comment.