From 6458875dc15fcb68f5e633ca0afd94fd781159c8 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Tue, 2 May 2017 08:17:59 +0200 Subject: [PATCH] Update documentation go.php URL to 12 Fixes https://github.com/nextcloud/server/issues/4646 Signed-off-by: Lukas Reschke --- lib/private/legacy/defaults.php | 2 +- themes/example/defaults.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/private/legacy/defaults.php b/lib/private/legacy/defaults.php index 7835707b19..cc4991efd3 100644 --- a/lib/private/legacy/defaults.php +++ b/lib/private/legacy/defaults.php @@ -61,7 +61,7 @@ class OC_Defaults { $this->defaultiTunesAppId = '1125420102'; $this->defaultAndroidClientUrl = 'https://play.google.com/store/apps/details?id=com.nextcloud.client'; $this->defaultDocBaseUrl = 'https://docs.nextcloud.com'; - $this->defaultDocVersion = '11'; // used to generate doc links + $this->defaultDocVersion = '12'; // used to generate doc links $this->defaultSlogan = $this->l->t('a safe home for all your data'); $this->defaultLogoClaim = ''; $this->defaultColorPrimary = '#0082c9'; diff --git a/themes/example/defaults.php b/themes/example/defaults.php index 6e0364a3dc..27d0cccaf6 100644 --- a/themes/example/defaults.php +++ b/themes/example/defaults.php @@ -121,7 +121,7 @@ class OC_Theme { * @return string short footer */ public function getShortFooter() { - $footer = '© 2016 '.$this->getEntity().''. + $footer = '© 2017 '.$this->getEntity().''. '
' . $this->getSlogan(); return $footer; @@ -132,14 +132,14 @@ class OC_Theme { * @return string long footer */ public function getLongFooter() { - $footer = '© 2016 '.$this->getEntity().''. + $footer = '© 2017 '.$this->getEntity().''. '
' . $this->getSlogan(); return $footer; } public function buildDocLinkToKey($key) { - return $this->getDocBaseUrl() . '/server/11/go.php?to=' . $key; + return $this->getDocBaseUrl() . '/server/12/go.php?to=' . $key; }