diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2018-03-28 08:23:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-28 08:23:16 +0200 |
commit | 1e13b3a8faacdd5d1a90573d12aca8fca5b5d7ae (patch) | |
tree | 07ab0e00d8e3b6a8e5f58cd14acf630b03ee4acd /lib/private/legacy | |
parent | 9dad5ac59bac133260160867e4180ffef2e0270a (diff) | |
parent | cf4d27b115edfe9148a52b1e667e6ef5d3d06c00 (diff) | |
download | nextcloud-server-1e13b3a8faacdd5d1a90573d12aca8fca5b5d7ae.tar.gz nextcloud-server-1e13b3a8faacdd5d1a90573d12aca8fca5b5d7ae.zip |
Merge pull request #8994 from nextcloud/deprecate-theme-sync-clients
Deprecate theme sync clients
Diffstat (limited to 'lib/private/legacy')
-rw-r--r-- | lib/private/legacy/defaults.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/private/legacy/defaults.php b/lib/private/legacy/defaults.php index c541e53a48d..3a22c91a8df 100644 --- a/lib/private/legacy/defaults.php +++ b/lib/private/legacy/defaults.php @@ -54,15 +54,16 @@ class OC_Defaults { public function __construct() { $this->l = \OC::$server->getL10N('lib'); + $config = \OC::$server->getConfig(); $this->defaultEntity = 'Nextcloud'; /* e.g. company name, used for footers and copyright notices */ $this->defaultName = 'Nextcloud'; /* short name, used when referring to the software */ $this->defaultTitle = 'Nextcloud'; /* can be a longer name, for titles */ $this->defaultBaseUrl = 'https://nextcloud.com'; - $this->defaultSyncClientUrl = 'https://nextcloud.com/install/#install-clients'; - $this->defaultiOSClientUrl = 'https://geo.itunes.apple.com/us/app/nextcloud/id1125420102?mt=8'; - $this->defaultiTunesAppId = '1125420102'; - $this->defaultAndroidClientUrl = 'https://play.google.com/store/apps/details?id=com.nextcloud.client'; + $this->defaultSyncClientUrl = $config->getSystemValue('customclient_desktop', 'https://nextcloud.com/install/#install-clients'); + $this->defaultiOSClientUrl = $config->getSystemValue('customclient_ios', 'https://geo.itunes.apple.com/us/app/nextcloud/id1125420102?mt=8'); + $this->defaultiTunesAppId = $config->getSystemValue('customclient_ios_appid', '1125420102'); + $this->defaultAndroidClientUrl = $config->getSystemValue('customclient_android', 'https://play.google.com/store/apps/details?id=com.nextcloud.client'); $this->defaultDocBaseUrl = 'https://docs.nextcloud.com'; $this->defaultDocVersion = '14'; // used to generate doc links $this->defaultSlogan = $this->l->t('a safe home for all your data'); |