Skip to content

Commit 3ea30b4

Browse files
authored
Merge pull request #49591 from nextcloud/backport/49587/stable30
[stable30] fix(maintenance): Show a success message on data-fingerprint command
2 parents 418755b + 590e765 commit 3ea30b4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

core/Command/Maintenance/DataFingerprint.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ protected function configure() {
2828
}
2929

3030
protected function execute(InputInterface $input, OutputInterface $output): int {
31-
$this->config->setSystemValue('data-fingerprint', md5($this->timeFactory->getTime()));
31+
$fingerPrint = md5($this->timeFactory->getTime());
32+
$this->config->setSystemValue('data-fingerprint', $fingerPrint);
33+
$output->writeln('<info>Updated data-fingerprint to ' . $fingerPrint . '</info>');
3234
return 0;
3335
}
3436
}

0 commit comments

Comments
 (0)