aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-12-02 08:40:25 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-12-02 08:19:15 +0000
commit5612714ec33cfbc49067e75ec3e70dbe9e7070ee (patch)
tree24b3679a2865dd7a716880b2b1c6f45ea9ef6d00 /core
parentce568970cae001b1fc8b2d179fcfbf73e48b7bca (diff)
downloadnextcloud-server-5612714ec33cfbc49067e75ec3e70dbe9e7070ee.tar.gz
nextcloud-server-5612714ec33cfbc49067e75ec3e70dbe9e7070ee.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.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;
}
}