summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2017-03-28 01:37:47 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-03-29 18:23:23 +0200
commit9a75714c22b406ef13c985bec567b9d88ce7dc84 (patch)
tree7e95558e53586f52f5da70d4f514d857bc3733c2 /lib/private
parent626d03e3d47994364500bd6cd5dd9a029b862fb7 (diff)
downloadnextcloud-server-9a75714c22b406ef13c985bec567b9d88ce7dc84.tar.gz
nextcloud-server-9a75714c22b406ef13c985bec567b9d88ce7dc84.zip
rename confusing getMailHeaderColor to getColorPrimary, ref #3491
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/legacy/defaults.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/legacy/defaults.php b/lib/private/legacy/defaults.php
index ea41d80076e..0248af54691 100644
--- a/lib/private/legacy/defaults.php
+++ b/lib/private/legacy/defaults.php
@@ -275,9 +275,9 @@ class OC_Defaults {
* Returns mail header color
* @return string
*/
- public function getMailHeaderColor() {
- if ($this->themeExist('getMailHeaderColor')) {
- return $this->theme->getMailHeaderColor();
+ public function getColorPrimary() {
+ if ($this->themeExist('getColorPrimary')) {
+ return $this->theme->getColorPrimary();
} else {
return $this->defaultMailHeaderColor;
}