aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/template.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2016-06-21 21:21:46 +0200
committerLukas Reschke <lukas@owncloud.com>2016-06-27 10:26:23 +0200
commit27b699bdbcd080ec9d5400a2391cdb2b725f7ee1 (patch)
tree0cd0e124cb6e7ea4b6dfdf1958df4eafae48d240 /lib/private/legacy/template.php
parentcc321bc140f707257ffe1a11b4fa0238887e16fc (diff)
downloadnextcloud-server-27b699bdbcd080ec9d5400a2391cdb2b725f7ee1.tar.gz
nextcloud-server-27b699bdbcd080ec9d5400a2391cdb2b725f7ee1.zip
Migrate logic to dynamic controller
Also adds support for having custom login backgrounds
Diffstat (limited to 'lib/private/legacy/template.php')
-rw-r--r--lib/private/legacy/template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/template.php b/lib/private/legacy/template.php
index 5023e3a60c8..e2956508090 100644
--- a/lib/private/legacy/template.php
+++ b/lib/private/legacy/template.php
@@ -80,7 +80,7 @@ class OC_Template extends \OC\Template\Base {
$parts = explode('/', $app); // fix translation when app is something like core/lostpassword
$l10n = \OC::$server->getL10N($parts[0]);
- $themeDefaults = new OC_Defaults();
+ $themeDefaults = \OC::$server->getThemingDefaults();
list($path, $template) = $this->findTemplate($theme, $app, $name);