Merge pull request #49591 from nextcloud/backport/49587/stable30

[stable30] fix(maintenance): Show a success message on data-fingerprint command
This commit is contained in:
John Molakvoæ 2024-12-12 13:24:16 +01:00 committed by GitHub
commit 3ea30b4e8c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,7 +28,9 @@ class DataFingerprint extends Command {
}
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;
}
}