aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/TemplateLayout.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/TemplateLayout.php')
-rw-r--r--lib/private/TemplateLayout.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php
index 4e633bf8b06..a379f23a1ef 100644
--- a/lib/private/TemplateLayout.php
+++ b/lib/private/TemplateLayout.php
@@ -141,17 +141,6 @@ class TemplateLayout extends \OC_Template {
$this->assign('userAvatarSet', true);
$this->assign('userAvatarVersion', $this->config->getUserValue(\OC_User::getUser(), 'avatar', 'version', 0));
}
-
- // check if app menu icons should be inverted
- try {
- /** @var \OCA\Theming\Util $util */
- $util = \OC::$server->query(\OCA\Theming\Util::class);
- $this->assign('themingInvertMenu', $util->invertTextColor(\OC::$server->getThemingDefaults()->getColorPrimary()));
- } catch (\OCP\AppFramework\QueryException $e) {
- $this->assign('themingInvertMenu', false);
- } catch (\OCP\AutoloadNotAllowedException $e) {
- $this->assign('themingInvertMenu', false);
- }
} elseif ($renderAs === TemplateResponse::RENDER_AS_ERROR) {
parent::__construct('core', 'layout.guest', '', false);
$this->assign('bodyid', 'body-login');