diff options
author | Joas Schilling <coding@schilljs.com> | 2024-12-02 08:40:25 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2024-12-02 08:22:25 +0000 |
commit | 590e76501eb14e3d23a2443d4b3c37d8ec4f0d27 (patch) | |
tree | be8eb2070e0408ed581db47c8a2eba11266e7690 | |
parent | 0c32d3838326508d10f291b4046ebc8270ec0b4a (diff) | |
download | nextcloud-server-backport/49587/stable30.tar.gz nextcloud-server-backport/49587/stable30.zip |
fix(maintenance): Show a success message on data-fingerprint commandbackport/49587/stable30
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | core/Command/Maintenance/DataFingerprint.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/Command/Maintenance/DataFingerprint.php b/core/Command/Maintenance/DataFingerprint.php index 15a427e2cc6..014d6c411a4 100644 --- a/core/Command/Maintenance/DataFingerprint.php +++ b/core/Command/Maintenance/DataFingerprint.php @@ -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; } } |