summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2017-03-28 18:10:02 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-03-29 18:23:23 +0200
commit354a24e0aa2e517611ee5c3acc1040ad2b2290ac (patch)
treeb0392f5358c2cd78203811610945c26533ecd05f /lib
parent698396a9270af9aaecf77411622efb7980b68886 (diff)
downloadnextcloud-server-354a24e0aa2e517611ee5c3acc1040ad2b2290ac.tar.gz
nextcloud-server-354a24e0aa2e517611ee5c3acc1040ad2b2290ac.zip
also rename defaultMailHeaderColor to defaultColorPrimary
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/legacy/defaults.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/legacy/defaults.php b/lib/private/legacy/defaults.php
index d06bbbd21e7..9fd9b621a14 100644
--- a/lib/private/legacy/defaults.php
+++ b/lib/private/legacy/defaults.php
@@ -46,7 +46,7 @@ class OC_Defaults {
private $defaultDocVersion;
private $defaultSlogan;
private $defaultLogoClaim;
- private $defaultMailHeaderColor;
+ private $defaultColorPrimary;
function __construct() {
$this->l = \OC::$server->getL10N('lib');
@@ -63,7 +63,7 @@ class OC_Defaults {
$this->defaultDocVersion = '11'; // used to generate doc links
$this->defaultSlogan = $this->l->t('a safe home for all your data');
$this->defaultLogoClaim = '';
- $this->defaultMailHeaderColor = '#0082c9'; /* header color of mail notifications */
+ $this->defaultColorPrimary = '#0082c9';
$themePath = OC::$SERVERROOT . '/themes/' . OC_Util::getTheme() . '/defaults.php';
if (file_exists($themePath)) {
@@ -272,7 +272,7 @@ class OC_Defaults {
}
/**
- * Returns mail header color
+ * Returns primary color
* @return string
*/
public function getColorPrimary() {
@@ -283,7 +283,7 @@ class OC_Defaults {
if ($this->themeExist('getMailHeaderColor')) {
return $this->theme->getMailHeaderColor();
}
- return $this->defaultMailHeaderColor;
+ return $this->defaultColorPrimary;
}
public function shouldReplaceIcons() {