Replace OC_Defaults with \OC::$server->getThemingDefaults()
This commit is contained in:
parent
261396019d
commit
0a5c5d9b03
|
@ -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 = '';
|
||||
|
|
Loading…
Reference in New Issue