aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/TemplateLayout.php
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2023-01-17 14:19:23 +0100
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-01-17 14:19:23 +0100
commit9af7ee8d11b43a7a3d14f7aa8390aff0a4174f55 (patch)
tree21e1bd9e4b5acc3010c3ecb6d1b6eb3081b9fdae /lib/private/TemplateLayout.php
parent7ab34eefc599cc7fd104f91213c28aeedee383db (diff)
downloadnextcloud-server-9af7ee8d11b43a7a3d14f7aa8390aff0a4174f55.tar.gz
nextcloud-server-9af7ee8d11b43a7a3d14f7aa8390aff0a4174f55.zip
Revert "Add alt to the logo, adapt css for logo"
This reverts commit bba5ab0532bcf71dc421fd15efd890cd25bdc8d3.
Diffstat (limited to 'lib/private/TemplateLayout.php')
-rw-r--r--lib/private/TemplateLayout.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php
index 178bec9c8dc..aa1ee203f31 100644
--- a/lib/private/TemplateLayout.php
+++ b/lib/private/TemplateLayout.php
@@ -120,6 +120,10 @@ class TemplateLayout extends \OC_Template {
$this->assign('enabledThemes', $themesService->getEnabledThemes());
}
+ // set logo link target
+ $logoUrl = $this->config->getSystemValueString('logo_url', '');
+ $this->assign('logoUrl', $logoUrl);
+
// Add navigation entry
$this->assign('application', '');
$this->assign('appid', $appId);
@@ -190,11 +194,6 @@ class TemplateLayout extends \OC_Template {
} else {
parent::__construct('core', 'layout.base');
}
-
- // set logo link target
- $logoUrl = $this->config->getSystemValueString('logo_url', '');
- $this->assign('logoUrl', $logoUrl);
-
// Send the language and the locale to our layouts
$lang = \OC::$server->getL10NFactory()->findLanguage();
$locale = \OC::$server->getL10NFactory()->findLocale($lang);