summaryrefslogtreecommitdiffstats
path: root/apps/theming/settings/settings-admin.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/theming/settings/settings-admin.php')
-rw-r--r--apps/theming/settings/settings-admin.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/theming/settings/settings-admin.php b/apps/theming/settings/settings-admin.php
index 59da90a47f8..a7643960adc 100644
--- a/apps/theming/settings/settings-admin.php
+++ b/apps/theming/settings/settings-admin.php
@@ -26,12 +26,7 @@ $config = \OC::$server->getConfig();
$l = \OC::$server->getL10N('theming');
$urlGenerator = \OC::$server->getURLGenerator();
-$theming = new \OCA\Theming\Template(
- $config,
- $l,
- \OC::$server->getURLGenerator(),
- new OC_Defaults()
-);
+$theming = \OC::$server->getThemingDefaults();
$themable = true;
$errorMessage = '';