Skip to content

Commit

Permalink
Update documentation go.php URL to 12
Browse files Browse the repository at this point in the history
Fixes nextcloud#4646

Signed-off-by: Lukas Reschke <[email protected]>
  • Loading branch information
LukasReschke committed May 2, 2017
1 parent f27d382 commit 6458875
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/private/legacy/defaults.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function __construct() {
$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';
Expand Down
6 changes: 3 additions & 3 deletions themes/example/defaults.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public function getLogoClaim() {
* @return string short footer
*/
public function getShortFooter() {
$footer = '© 2016 <a href="'.$this->getBaseUrl().'" target="_blank\">'.$this->getEntity().'</a>'.
$footer = '© 2017 <a href="'.$this->getBaseUrl().'" target="_blank\">'.$this->getEntity().'</a>'.
'<br/>' . $this->getSlogan();

return $footer;
Expand All @@ -132,14 +132,14 @@ public function getShortFooter() {
* @return string long footer
*/
public function getLongFooter() {
$footer = '© 2016 <a href="'.$this->getBaseUrl().'" target="_blank\">'.$this->getEntity().'</a>'.
$footer = '© 2017 <a href="'.$this->getBaseUrl().'" target="_blank\">'.$this->getEntity().'</a>'.
'<br/>' . $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;
}


Expand Down

0 comments on commit 6458875

Please sign in to comment.