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');
|
$l = \OC::$server->getL10N('theming');
|
||||||
$urlGenerator = \OC::$server->getURLGenerator();
|
$urlGenerator = \OC::$server->getURLGenerator();
|
||||||
|
|
||||||
$theming = new \OCA\Theming\Template(
|
$theming = \OC::$server->getThemingDefaults();
|
||||||
$config,
|
|
||||||
$l,
|
|
||||||
\OC::$server->getURLGenerator(),
|
|
||||||
new OC_Defaults()
|
|
||||||
);
|
|
||||||
|
|
||||||
$themable = true;
|
$themable = true;
|
||||||
$errorMessage = '';
|
$errorMessage = '';
|
||||||
|
|
Loading…
Reference in New Issue