[Pkg-owncloud-commits] [owncloud] 202/215: Add proper versioning for doc URL
David Prévot
taffit at moszumanska.debian.org
Tue May 5 01:01:51 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit 6738c17cb59b8080cd7b46d06e355dee176e216d
Author: Lukas Reschke <lukas at owncloud.com>
Date: Sat May 2 21:05:11 2015 +0200
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
---
lib/private/defaults.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/private/defaults.php b/lib/private/defaults.php
index af4370e..16f4594 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 */
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list