aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2016-06-27 10:34:08 +0200
committerLukas Reschke <lukas@owncloud.com>2016-06-27 10:34:08 +0200
commit0a5c5d9b030724db03b6a4c589331758191643ca (patch)
treee1bc33662c607ef31937e44b7eebded89d79e242
parent261396019d9510cc8a5b27819a0154ab8e369a34 (diff)
downloadnextcloud-server-0a5c5d9b030724db03b6a4c589331758191643ca.tar.gz
nextcloud-server-0a5c5d9b030724db03b6a4c589331758191643ca.zip
Replace OC_Defaults with \OC::$server->getThemingDefaults()
-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 = '';