diff options
Diffstat (limited to 'apps/theming')
-rw-r--r-- | apps/theming/lib/ThemingDefaults.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/theming/lib/ThemingDefaults.php b/apps/theming/lib/ThemingDefaults.php index 6e9298bdbcc..9d0ea78d8ea 100644 --- a/apps/theming/lib/ThemingDefaults.php +++ b/apps/theming/lib/ThemingDefaults.php @@ -75,6 +75,8 @@ class ThemingDefaults extends \OC_Defaults { /** @var string */ private $entity; /** @var string */ + private $productName; + /** @var string */ private $url; /** @var string */ private $color; @@ -119,6 +121,7 @@ class ThemingDefaults extends \OC_Defaults { $this->name = parent::getName(); $this->title = parent::getTitle(); $this->entity = parent::getEntity(); + $this->productName = parent::getName(); $this->url = parent::getBaseUrl(); $this->color = parent::getColorPrimary(); $this->iTunesAppId = parent::getiTunesAppId(); @@ -142,6 +145,10 @@ class ThemingDefaults extends \OC_Defaults { return strip_tags($this->config->getAppValue('theming', 'name', $this->entity)); } + public function getProductName() { + return strip_tags($this->config->getAppValue('theming', 'productName', $this->productName)); + } + public function getBaseUrl() { return $this->config->getAppValue('theming', 'url', $this->url); } |