From: Jan-Christoph Borchardt Date: Tue, 28 Mar 2017 16:10:02 +0000 (+0200) Subject: also rename defaultMailHeaderColor to defaultColorPrimary X-Git-Tag: v12.0.0beta1~259^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F4108%2Fhead;p=nextcloud-server.git also rename defaultMailHeaderColor to defaultColorPrimary Signed-off-by: Jan-Christoph Borchardt --- 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() {