fixes registering of theming settings where server return OC_Defaults instead of ThemingDefaults
This commit is contained in:
parent
8b117ee0d7
commit
a065fee3ff
1 changed files with 3 additions and 2 deletions
|
@ -29,20 +29,21 @@ use OCP\IConfig;
|
||||||
use OCP\IL10N;
|
use OCP\IL10N;
|
||||||
use OCP\IURLGenerator;
|
use OCP\IURLGenerator;
|
||||||
use OCP\Settings\ISettings;
|
use OCP\Settings\ISettings;
|
||||||
|
use \OC_Defaults;
|
||||||
|
|
||||||
class Admin implements ISettings {
|
class Admin implements ISettings {
|
||||||
/** @var IConfig */
|
/** @var IConfig */
|
||||||
private $config;
|
private $config;
|
||||||
/** @var IL10N */
|
/** @var IL10N */
|
||||||
private $l;
|
private $l;
|
||||||
/** @var ThemingDefaults */
|
/** @var ThemingDefaults|OC_Defaults */
|
||||||
private $themingDefaults;
|
private $themingDefaults;
|
||||||
/** @var IURLGenerator */
|
/** @var IURLGenerator */
|
||||||
private $urlGenerator;
|
private $urlGenerator;
|
||||||
|
|
||||||
public function __construct(IConfig $config,
|
public function __construct(IConfig $config,
|
||||||
IL10N $l,
|
IL10N $l,
|
||||||
ThemingDefaults $themingDefaults,
|
OC_Defaults $themingDefaults,
|
||||||
IURLGenerator $urlGenerator) {
|
IURLGenerator $urlGenerator) {
|
||||||
$this->config = $config;
|
$this->config = $config;
|
||||||
$this->l = $l;
|
$this->l = $l;
|
||||||
|
|
Loading…
Reference in a new issue