|
|
|
@ -45,7 +45,6 @@ class OC_Defaults {
|
|
|
|
private $defaultDocBaseUrl;
|
|
|
|
private $defaultDocBaseUrl;
|
|
|
|
private $defaultDocVersion;
|
|
|
|
private $defaultDocVersion;
|
|
|
|
private $defaultSlogan;
|
|
|
|
private $defaultSlogan;
|
|
|
|
private $defaultLogoClaim;
|
|
|
|
|
|
|
|
private $defaultColorPrimary;
|
|
|
|
private $defaultColorPrimary;
|
|
|
|
|
|
|
|
|
|
|
|
public function __construct() {
|
|
|
|
public function __construct() {
|
|
|
|
@ -62,7 +61,6 @@ class OC_Defaults {
|
|
|
|
$this->defaultDocBaseUrl = 'https://docs.nextcloud.com';
|
|
|
|
$this->defaultDocBaseUrl = 'https://docs.nextcloud.com';
|
|
|
|
$this->defaultDocVersion = '12'; // used to generate doc links
|
|
|
|
$this->defaultDocVersion = '12'; // used to generate doc links
|
|
|
|
$this->defaultSlogan = $this->l->t('a safe home for all your data');
|
|
|
|
$this->defaultSlogan = $this->l->t('a safe home for all your data');
|
|
|
|
$this->defaultLogoClaim = '';
|
|
|
|
|
|
|
|
$this->defaultColorPrimary = '#0082c9';
|
|
|
|
$this->defaultColorPrimary = '#0082c9';
|
|
|
|
|
|
|
|
|
|
|
|
$themePath = OC::$SERVERROOT . '/themes/' . OC_Util::getTheme() . '/defaults.php';
|
|
|
|
$themePath = OC::$SERVERROOT . '/themes/' . OC_Util::getTheme() . '/defaults.php';
|
|
|
|
@ -222,13 +220,10 @@ class OC_Defaults {
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Returns logo claim
|
|
|
|
* Returns logo claim
|
|
|
|
* @return string logo claim
|
|
|
|
* @return string logo claim
|
|
|
|
|
|
|
|
* @deprecated 13.0.0
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public function getLogoClaim() {
|
|
|
|
public function getLogoClaim() {
|
|
|
|
if ($this->themeExist('getLogoClaim')) {
|
|
|
|
return '';
|
|
|
|
return $this->theme->getLogoClaim();
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
return $this->defaultLogoClaim;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
|