summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Template/JSConfigHelper.php2
-rw-r--r--lib/private/legacy/defaults.php9
-rw-r--r--lib/public/Defaults.php3
3 files changed, 5 insertions, 9 deletions
diff --git a/lib/private/Template/JSConfigHelper.php b/lib/private/Template/JSConfigHelper.php
index 9a11e84f8d9..fb9b27f0765 100644
--- a/lib/private/Template/JSConfigHelper.php
+++ b/lib/private/Template/JSConfigHelper.php
@@ -238,7 +238,7 @@ class JSConfigHelper {
'docBaseUrl' => $this->defaults->getDocBaseUrl(),
'docPlaceholderUrl' => $this->defaults->buildDocLinkToKey('PLACEHOLDER'),
'slogan' => $this->defaults->getSlogan(),
- 'logoClaim' => $this->defaults->getLogoClaim(),
+ 'logoClaim' => '',
'shortFooter' => $this->defaults->getShortFooter(),
'longFooter' => $this->defaults->getLongFooter(),
'folder' => \OC_Util::getTheme(),
diff --git a/lib/private/legacy/defaults.php b/lib/private/legacy/defaults.php
index f6d72d9776d..adfbe71377d 100644
--- a/lib/private/legacy/defaults.php
+++ b/lib/private/legacy/defaults.php
@@ -45,7 +45,6 @@ class OC_Defaults {
private $defaultDocBaseUrl;
private $defaultDocVersion;
private $defaultSlogan;
- private $defaultLogoClaim;
private $defaultColorPrimary;
public function __construct() {
@@ -62,7 +61,6 @@ class OC_Defaults {
$this->defaultDocBaseUrl = 'https://docs.nextcloud.com';
$this->defaultDocVersion = '12'; // used to generate doc links
$this->defaultSlogan = $this->l->t('a safe home for all your data');
- $this->defaultLogoClaim = '';
$this->defaultColorPrimary = '#0082c9';
$themePath = OC::$SERVERROOT . '/themes/' . OC_Util::getTheme() . '/defaults.php';
@@ -222,13 +220,10 @@ class OC_Defaults {
/**
* Returns logo claim
* @return string logo claim
+ * @deprecated 13.0.0
*/
public function getLogoClaim() {
- if ($this->themeExist('getLogoClaim')) {
- return $this->theme->getLogoClaim();
- } else {
- return $this->defaultLogoClaim;
- }
+ return '';
}
/**
diff --git a/lib/public/Defaults.php b/lib/public/Defaults.php
index 543657694c5..4bf638fda9f 100644
--- a/lib/public/Defaults.php
+++ b/lib/public/Defaults.php
@@ -143,9 +143,10 @@ class Defaults {
* logo claim
* @return string
* @since 6.0.0
+ * @deprecated 13.0.0
*/
public function getLogoClaim() {
- return $this->defaults->getLogoClaim();
+ return '';
}
/**