Merge pull request #49589 from nextcloud/backport/49587/stable28

[stable28] fix(maintenance): Show a success message on data-fingerprint command
This commit is contained in:
Joas Schilling 2024-12-05 21:30:13 +01:00 committed by GitHub
commit 5719fa9e76
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -43,7 +43,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;
}
}