summaryrefslogtreecommitdiffstats
path: root/lib/Service/InstanceService.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Service/InstanceService.php')
-rw-r--r--lib/Service/InstanceService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/InstanceService.php b/lib/Service/InstanceService.php
index 4c756253..72daf3f9 100644
--- a/lib/Service/InstanceService.php
+++ b/lib/Service/InstanceService.php
@@ -62,7 +62,7 @@ class InstanceService {
public function createLocal(): Instance {
$instance = new Instance();
$instance->setLocal(true)
- ->setVersion($this->config->getAppValue(Application::APP_NAME, 'installed_version', '0.0'))
+ ->setVersion($this->config->getAppValue(Application::APP_ID, 'installed_version', '0.0'))
->setApprovalRequired(false)
->setDescription($this->config->getAppValue('theming', 'slogan', 'a safe home for your data'))
->setTitle($this->config->getAppValue('theming', 'name', 'Nextcloud Social'));