diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-01-31 09:53:45 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2019-01-31 09:53:45 +0100 |
commit | 9d285c4459fcc89c4f875b9e4d9c362146404dfd (patch) | |
tree | 34af73e0e9c20f1b2c0a59ffe89a74dbe4022e80 | |
parent | 16fec60e8f97d9878242cde63be83846bb923b3e (diff) | |
download | nextcloud-server-9d285c4459fcc89c4f875b9e4d9c362146404dfd.tar.gz nextcloud-server-9d285c4459fcc89c4f875b9e4d9c362146404dfd.zip |
Fix theming defaults injection if theming app is disabled
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
-rw-r--r-- | apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php b/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php index d996f72c160..55c352d98ba 100644 --- a/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php +++ b/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php @@ -23,14 +23,12 @@ namespace OCA\DAV\Provisioning\Apple; -use OCA\Theming\ThemingDefaults; use OCP\IL10N; use OCP\IRequest; use OCP\IURLGenerator; use OCP\IUserSession; use Sabre\DAV\Server; use Sabre\DAV\ServerPlugin; -use Sabre\DAV\UUIDUtil; use Sabre\HTTP\RequestInterface; use Sabre\HTTP\ResponseInterface; @@ -52,7 +50,7 @@ class AppleProvisioningPlugin extends ServerPlugin { protected $userSession; /** - * @var ThemingDefaults + * @var \OC_Defaults */ protected $themingDefaults; @@ -76,13 +74,13 @@ class AppleProvisioningPlugin extends ServerPlugin { * * @param IUserSession $userSession * @param IURLGenerator $urlGenerator - * @param ThemingDefaults $themingDefaults + * @param \OC_Defaults $themingDefaults * @param IRequest $request * @param IL10N $l10n * @param \closure $uuidClosure */ public function __construct(IUserSession $userSession, IURLGenerator $urlGenerator, - ThemingDefaults $themingDefaults, IRequest $request, + \OC_Defaults $themingDefaults, IRequest $request, IL10N $l10n, \closure $uuidClosure) { $this->userSession = $userSession; $this->urlGenerator = $urlGenerator; |