summaryrefslogtreecommitdiffstats
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:20:48 +0000
commitd7d1fb6acae5abeb187d4361f3251334dbfefb49 (patch)
tree26a4c20b602f588059348b6712a8f4d0176011d1 /core
parentfbfe30716b2fa2b3fd62d3e42703c263d8ffbea4 (diff)
downloadnextcloud-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.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;
}
}