diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-11-03 21:13:07 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-11-03 21:14:27 +0100 |
commit | be5ae6c44f8fae9364c0be65f4f685d7c1afa104 (patch) | |
tree | 10c0d131da0ccc0b19b75f5562e84dab2a758c8f /lib/private | |
parent | d2276215a475062c781f57d80f912f421f4b69fe (diff) | |
download | nextcloud-server-be5ae6c44f8fae9364c0be65f4f685d7c1afa104.tar.gz nextcloud-server-be5ae6c44f8fae9364c0be65f4f685d7c1afa104.zip |
Support HTML in logo claim
Diffstat (limited to 'lib/private')
-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 */ |