aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2024-12-05 21:30:13 +0100
committerGitHub <noreply@github.com>2024-12-05 21:30:13 +0100
commit5719fa9e76b8ad46d2908d7316ec0972aaa202fa (patch)
treec15c57a1c939e61376a53b1d6ed211d7fb6828f5
parent001b34836cdc232486f30aa57e961ffc230cc27b (diff)
parent5612714ec33cfbc49067e75ec3e70dbe9e7070ee (diff)
downloadnextcloud-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.php4
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;
}
}