diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2024-12-05 21:30:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-05 21:30:13 +0100 |
commit | 5719fa9e76b8ad46d2908d7316ec0972aaa202fa (patch) | |
tree | c15c57a1c939e61376a53b1d6ed211d7fb6828f5 | |
parent | 001b34836cdc232486f30aa57e961ffc230cc27b (diff) | |
parent | 5612714ec33cfbc49067e75ec3e70dbe9e7070ee (diff) | |
download | nextcloud-server-5719fa9e76b8ad46d2908d7316ec0972aaa202fa.tar.gz nextcloud-server-5719fa9e76b8ad46d2908d7316ec0972aaa202fa.zip |
Merge pull request #49589 from nextcloud/backport/49587/stable28
[stable28] fix(maintenance): Show a success message on data-fingerprint command
-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; } } |