diff options
Diffstat (limited to 'lib/private/defaults.php')
-rw-r--r-- | lib/private/defaults.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/private/defaults.php b/lib/private/defaults.php index cc6c819f03f..c16ebdbe24c 100644 --- a/lib/private/defaults.php +++ b/lib/private/defaults.php @@ -157,6 +157,18 @@ class OC_Defaults { } /** + * Returns the short name of the software containing HTML strings + * @return string title + */ + public function getHTMLName() { + if ($this->themeExist('getHTMLName')) { + return $this->theme->getHTMLName(); + } else { + return $this->defaultName; + } + } + + /** * Returns entity (e.g. company name) - used for footer, copyright * @return string entity name */ |