From 0a5c5d9b030724db03b6a4c589331758191643ca Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Mon, 27 Jun 2016 10:34:08 +0200 Subject: Replace OC_Defaults with \OC::$server->getThemingDefaults() --- apps/theming/settings/settings-admin.php | 7 +------ 1 file changed, 1 insertion(+), 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 = ''; -- cgit v1.2.3