diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-06-27 10:34:08 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-06-27 10:34:08 +0200 |
commit | 0a5c5d9b030724db03b6a4c589331758191643ca (patch) | |
tree | e1bc33662c607ef31937e44b7eebded89d79e242 | |
parent | 261396019d9510cc8a5b27819a0154ab8e369a34 (diff) | |
download | nextcloud-server-0a5c5d9b030724db03b6a4c589331758191643ca.tar.gz nextcloud-server-0a5c5d9b030724db03b6a4c589331758191643ca.zip |
Replace OC_Defaults with \OC::$server->getThemingDefaults()
-rw-r--r-- | apps/theming/settings/settings-admin.php | 7 |
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 = ''; |