Skip to content

Commit

Permalink
EZP-30543: Removed Dynamic Settings functionality from kernel (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
webhdx authored Apr 2, 2020
1 parent 220e042 commit ed85426
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
8 changes: 1 addition & 7 deletions src/GraphQL/Resolver/ImageFieldResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ class ImageFieldResolver
* @var \eZ\Publish\API\Repository\ContentService
*/
private $contentService;
/**
* @var array
*/
private $variations;
/**
* @var FieldType\Image\Type
*/
Expand All @@ -45,12 +41,10 @@ public function __construct(
FieldType\Image\Type $imageFieldType,
VariationHandler $variationHandler,
ContentLoader $contentLoader,
ContentService $contentService,
array $variations
ContentService $contentService
) {
$this->variationHandler = $variationHandler;
$this->contentService = $contentService;
$this->variations = $variations;
$this->fieldType = $imageFieldType;
$this->contentLoader = $contentLoader;
}
Expand Down
1 change: 0 additions & 1 deletion src/Resources/config/services/resolvers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ services:
$imageFieldType: "@ezpublish.fieldType.ezimage"
$variationHandler: "@ezpublish.fieldType.ezimage.variation_service"
$contentService: "@ezpublish.siteaccessaware.service.content"
$variations: "$image_variations$"
tags:
- { name: overblog_graphql.resolver, alias: "ImageVariations", method: "resolveImageVariations" }
- { name: overblog_graphql.resolver, alias: "ImageVariation", method: "resolveImageVariation" }
Expand Down

0 comments on commit ed85426

Please sign in to comment.