summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-05-02 21:05:11 +0200
committerLukas Reschke <lukas@owncloud.com>2015-05-02 21:05:11 +0200
commit6738c17cb59b8080cd7b46d06e355dee176e216d (patch)
tree7411d9c57a4acdc9141b5614ca25e93c4c43d23e /lib
parent6528a17ea3c1f3ef81c463f6c84edaddad29e967 (diff)
downloadnextcloud-server-6738c17cb59b8080cd7b46d06e355dee176e216d.tar.gz
nextcloud-server-6738c17cb59b8080cd7b46d06e355dee176e216d.zip
Add proper versioning for doc URL
As per 8.1 we have docs for minor versions as well so we need to link to `8.1` here instead to `8.0`. Fixes https://github.com/owncloud/core/issues/16002
Diffstat (limited to 'lib')
-rw-r--r--lib/private/defaults.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/defaults.php b/lib/private/defaults.php
index af4370e17e5..16f45943f54 100644
--- a/lib/private/defaults.php
+++ b/lib/private/defaults.php
@@ -60,7 +60,7 @@ class OC_Defaults {
$this->defaultiTunesAppId = '543672169';
$this->defaultAndroidClientUrl = 'https://play.google.com/store/apps/details?id=com.owncloud.android';
$this->defaultDocBaseUrl = 'https://doc.owncloud.org';
- $this->defaultDocVersion = $version[0] . '.0'; // used to generate doc links
+ $this->defaultDocVersion = $version[0] . '.' . $version[1]; // used to generate doc links
$this->defaultSlogan = $this->l->t('web services under your control');
$this->defaultLogoClaim = '';
$this->defaultMailHeaderColor = '#1d2d44'; /* header color of mail notifications */