Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-07-19 11:20:47 +0300
committerMorris Jobke <hey@morrisjobke.de>2017-07-19 11:20:47 +0300
commite48ca730fe90c889d06acbfdf799006b46b4bf84 (patch)
treec51aae1293fd710d73fade32a8519a69aadafeed /apps/theming/lib/ThemingDefaults.php
parente2298e0a717da87926bbdbfb80755aa0dbeabdab (diff)
Add Android and iOS URLs to theming app
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/theming/lib/ThemingDefaults.php')
-rw-r--r--apps/theming/lib/ThemingDefaults.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/theming/lib/ThemingDefaults.php b/apps/theming/lib/ThemingDefaults.php
index 7f30a48ff8b..dff24ee7960 100644
--- a/apps/theming/lib/ThemingDefaults.php
+++ b/apps/theming/lib/ThemingDefaults.php
@@ -55,6 +55,8 @@ class ThemingDefaults extends \OC_Defaults {
private $iTunesAppId;
/** @var string */
private $iOSClientUrl;
+ /** @var string */
+ private $AndroidClientUrl;
/**
* ThemingDefaults constructor.
@@ -88,6 +90,7 @@ class ThemingDefaults extends \OC_Defaults {
$this->color = parent::getColorPrimary();
$this->iTunesAppId = parent::getiTunesAppId();
$this->iOSClientUrl = parent::getiOSClientUrl();
+ $this->AndroidClientUrl = parent::getAndroidClientUrl();
}
public function getName() {
@@ -200,6 +203,13 @@ class ThemingDefaults extends \OC_Defaults {
return $this->config->getAppValue('theming', 'iOSClientUrl', $this->iOSClientUrl);
}
+ /**
+ * @return string
+ */
+ public function getAndroidClientUrl() {
+ return $this->config->getAppValue('theming', 'AndroidClientUrl', $this->AndroidClientUrl);
+ }
+
/**
* @return array scss variables to overwrite