Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/legacy/OC_Defaults.php')
-rw-r--r--lib/private/legacy/OC_Defaults.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/private/legacy/OC_Defaults.php b/lib/private/legacy/OC_Defaults.php
index d5a4b5eecee..f90cae61bd7 100644
--- a/lib/private/legacy/OC_Defaults.php
+++ b/lib/private/legacy/OC_Defaults.php
@@ -36,7 +36,6 @@
*
*/
class OC_Defaults {
-
private $theme;
private $defaultEntity;
@@ -282,7 +281,6 @@ class OC_Defaults {
* @return string
*/
public function getColorPrimary() {
-
if ($this->themeExist('getColorPrimary')) {
return $this->theme->getColorPrimary();
}
@@ -296,7 +294,7 @@ class OC_Defaults {
* @return array scss variables to overwrite
*/
public function getScssVariables() {
- if($this->themeExist('getScssVariables')) {
+ if ($this->themeExist('getScssVariables')) {
return $this->theme->getScssVariables();
}
return [];
@@ -317,7 +315,7 @@ class OC_Defaults {
return $this->theme->getLogo($useSvg);
}
- if($useSvg) {
+ if ($useSvg) {
$logo = \OC::$server->getURLGenerator()->imagePath('core', 'logo/logo.svg');
} else {
$logo = \OC::$server->getURLGenerator()->imagePath('core', 'logo/logo.png');