There was an error while loading. Please reload this page.
1 parent 6016d45 commit 5ee6e5bCopy full SHA for 5ee6e5b
1 file changed
lib/private/legacy/defaults.php
@@ -64,7 +64,7 @@ public function __construct() {
64
$this->defaultiTunesAppId = $config->getSystemValue('customclient_ios_appid', '1125420102');
65
$this->defaultAndroidClientUrl = $config->getSystemValue('customclient_android', 'https://play.google.com/store/apps/details?id=com.nextcloud.client');
66
$this->defaultDocBaseUrl = 'https://docs.nextcloud.com';
67
- $this->defaultDocVersion = substr($config->getSystemValue('version', '16.0.0.0'), 0, 2); // used to generate doc links
+ $this->defaultDocVersion = \OC_Util::getVersion()[0]; // used to generate doc links
68
$this->defaultSlogan = $l10n->t('a safe home for all your data');
69
$this->defaultColorPrimary = '#0082c9';
70
$this->defaultTextColorPrimary = '#ffffff';
0 commit comments