aboutsummaryrefslogtreecommitdiffstats
path: root/lib/defaults.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/defaults.php')
-rw-r--r--lib/defaults.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/defaults.php b/lib/defaults.php
index 44c1a7e150b..215b148f946 100644
--- a/lib/defaults.php
+++ b/lib/defaults.php
@@ -17,6 +17,7 @@ class OC_Defaults {
private static $defaultSyncClientUrl = " http://owncloud.org/sync-clients/";
private static $defaultDocBaseUrl = "http://doc.owncloud.org";
private static $defaultSlogan = "web services under your control";
+ private static $defaultLogoClaim = "ownCloud Community";
private function themeExist($method) {
if (OC_Util::getTheme() !== '' && method_exists('OC_Theme', $method)) {
@@ -74,6 +75,14 @@ class OC_Defaults {
}
}
+ public static function getLogoClaim() {
+ if (self::themeExist('getLogoClaim')) {
+ return OC_Theme::getLogoClaim();
+ } else {
+ return self::$defaultLogoClaim;
+ }
+ }
+
public static function getShortFooter() {
if (self::themeExist('getShortFooter')) {
$footer = OC_Theme::getShortFooter();