Replace OC_Defaults with \OC::$server->getThemingDefaults()

This commit is contained in:
Lukas Reschke 2016-06-27 10:34:08 +02:00
parent 261396019d
commit 0a5c5d9b03
1 changed files with 1 additions and 6 deletions

View File

@ -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 = '';