aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-12-02 08:40:25 +0100
committerJoas Schilling <coding@schilljs.com>2024-12-02 08:40:25 +0100
commitd1c3c6f2341f8841d70b79c4e1d86384b60d1261 (patch)
treed68bd11b94a04fb721cd556f7c7186598da46b63 /core
parentc3b336dbf9f8e2039cce0db3a4d5d678e0d078f4 (diff)
downloadnextcloud-server-d1c3c6f2341f8841d70b79c4e1d86384b60d1261.tar.gz
nextcloud-server-d1c3c6f2341f8841d70b79c4e1d86384b60d1261.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 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;
}
}