mirror of
https://github.com/nextcloud/server.git
synced 2026-02-16 09:19:43 -05:00
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:
commit
3ea30b4e8c
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue