]> source.dussan.org Git - nextcloud-server.git/commitdiff
fixes registering of theming settings where server return OC_Defaults instead of... 1010/head
authorArthur Schiwon <blizzz@arthur-schiwon.de>
Mon, 22 Aug 2016 10:02:06 +0000 (12:02 +0200)
committerArthur Schiwon <blizzz@arthur-schiwon.de>
Mon, 22 Aug 2016 11:24:08 +0000 (13:24 +0200)
apps/theming/lib/Settings/Admin.php

index 1f79449e658161731a2fb9de521f5db03cc0ccf4..d0a9f554084d6a5c13013cf196bb78ef16fb946c 100644 (file)
@@ -29,20 +29,21 @@ use OCP\IConfig;
 use OCP\IL10N;
 use OCP\IURLGenerator;
 use OCP\Settings\ISettings;
+use \OC_Defaults;
 
 class Admin implements ISettings {
        /** @var IConfig */
        private $config;
        /** @var IL10N */
        private $l;
-       /** @var ThemingDefaults */
+       /** @var ThemingDefaults|OC_Defaults */
        private $themingDefaults;
        /** @var IURLGenerator */
        private $urlGenerator;
 
        public function __construct(IConfig $config,
                                                                IL10N $l,
-                                                               ThemingDefaults $themingDefaults,
+                                                               OC_Defaults $themingDefaults,
                                                                IURLGenerator $urlGenerator) {
                $this->config = $config;
                $this->l = $l;