File tree 1 file changed +0
-8
lines changed
app/code/Magento/MediaGalleryRenditions/Plugin
1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change 7
7
8
8
namespace Magento \MediaGalleryRenditions \Plugin ;
9
9
10
- use Magento \Catalog \Helper \Data as CatalogHelper ;
11
10
use Magento \Framework \App \Filesystem \DirectoryList ;
12
11
use Magento \Framework \Filesystem ;
13
12
use Magento \MediaGalleryApi \Api \DeleteAssetsByPathsInterface ;
19
18
*/
20
19
class RemoveRenditions
21
20
{
22
- /**
23
- * @var CatalogHelper
24
- */
25
- private $ catalogHelper ;
26
-
27
21
/**
28
22
* @var GetRenditionPathInterface
29
23
*/
@@ -45,12 +39,10 @@ class RemoveRenditions
45
39
* @param LoggerInterface $log
46
40
*/
47
41
public function __construct (
48
- CatalogHelper $ catalogHelper ,
49
42
GetRenditionPathInterface $ getRenditionPath ,
50
43
Filesystem $ filesystem ,
51
44
LoggerInterface $ log
52
45
) {
53
- $ this ->catalogHelper = $ catalogHelper ;
54
46
$ this ->getRenditionPath = $ getRenditionPath ;
55
47
$ this ->filesystem = $ filesystem ;
56
48
$ this ->log = $ log ;
You can’t perform that action at this time.
0 commit comments