summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/defaults.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/legacy/defaults.php')
-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;
}