summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-08-02 17:10:25 +0200
committerLukas Reschke <lukas@statuscode.ch>2017-08-02 23:08:45 +0200
commit585e5c6ea5057f3de5d798405a3ed1add673e91b (patch)
treeb704bdd316534a47c7a6fe25e4e039ed30a647de /lib/private
parentc40352c03071740f51544f0fcd7fc787c5c3f27b (diff)
downloadnextcloud-server-585e5c6ea5057f3de5d798405a3ed1add673e91b.tar.gz
nextcloud-server-585e5c6ea5057f3de5d798405a3ed1add673e91b.zip
Logo claim is not used anymore
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/Template/JSConfigHelper.php2
-rw-r--r--lib/private/legacy/defaults.php9
2 files changed, 3 insertions, 8 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 '';
}
/**