Skip to content

Commit

Permalink
#1578: Move MediaGallery related modules to Magento core
Browse files Browse the repository at this point in the history
- code review fixes
  • Loading branch information
lenaorobei committed Jul 21, 2020
1 parent 9214e65 commit 7b4d829
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 36 deletions.
1 change: 0 additions & 1 deletion MediaContentSynchronization/Model/Synchronize.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
use Magento\MediaContentSynchronizationApi\Api\SynchronizeInterface;
use Magento\MediaContentSynchronizationApi\Model\SynchronizerPool;
use Psr\Log\LoggerInterface;
use Magento\MediaContentSynchronization\Model\RemoveObsoleteContentAsset;

/**
* Synchronize content with assets
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
namespace Magento\MediaContentSynchronization\Plugin;

use Magento\MediaContentSynchronization\Model\Publish;
use Magento\Framework\Exception\LocalizedException;
use Magento\MediaGallerySynchronization\Model\Consumer;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
namespace Magento\MediaContentSynchronizationApi\Model;

/**
* Get Entites by provided configuration.
* Get entities for media content by provided configuration.
*/
interface GetEntitiesInterface
{
Expand Down
2 changes: 1 addition & 1 deletion MediaContentSynchronizationApi/Model/SynchronizerPool.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use Magento\MediaContentSynchronizationApi\Api\SynchronizerInterface;

/**
* A pool of content with assets synchronizers
* A pool that handles content and assets synchronization.
* @see SynchronizeFilesInterface
*/
class SynchronizerPool
Expand Down
5 changes: 2 additions & 3 deletions MediaGalleryRenditions/Model/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@

namespace Magento\MediaGalleryRenditions\Model;

use Magento\MediaGalleryRenditionsApi\Api\ConfigInterface;
use Magento\Framework\App\Config\ScopeConfigInterface;

/**
* Config for Media Gallery Renditions module
* Class responsible for providing access to Media Gallery Renditions system configuration
*/
class Config implements ConfigInterface
class Config
{
/**
* Config path for Media Gallery Renditions Width
Expand Down
29 changes: 0 additions & 29 deletions MediaGalleryRenditionsApi/Api/ConfigInterface.php

This file was deleted.

0 comments on commit 7b4d829

Please sign in to comment.