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:20:48 +0000 |
commit | d7d1fb6acae5abeb187d4361f3251334dbfefb49 (patch) | |
tree | 26a4c20b602f588059348b6712a8f4d0176011d1 /core | |
parent | fbfe30716b2fa2b3fd62d3e42703c263d8ffbea4 (diff) | |
download | nextcloud-server-d7d1fb6acae5abeb187d4361f3251334dbfefb49.tar.gz nextcloud-server-d7d1fb6acae5abeb187d4361f3251334dbfefb49.zip |
fix(maintenance): Show a success message on data-fingerprint command
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core')
-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 3c15b95bc05..4887d1b68e5 100644 --- a/core/Command/Maintenance/DataFingerprint.php +++ b/core/Command/Maintenance/DataFingerprint.php @@ -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; } } |