Skip to content

Commit 67cfe9f

Browse files
authored
Merge pull request #35 from landofcoder/upgrade-magento246
Upgrade magento246
2 parents 1096a35 + 7821007 commit 67cfe9f

File tree

5 files changed

+33
-2
lines changed

5 files changed

+33
-2
lines changed

Helper/Data.php

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,25 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper
5050
/**
5151
* @var \Magento\Framework\Module\ModuleListInterface
5252
*/
53-
protected $moduleList;
53+
protected $_moduleList;
54+
55+
/**
56+
* @var \Magento\Cms\Model\Template\FilterProvider
57+
*/
58+
protected $_filterProvider;
59+
60+
/**
61+
* @var \Magento\Store\Model\StoreManagerInterface
62+
*/
63+
protected $_storeManager;
64+
65+
protected $_customerSession;
66+
67+
protected $_orderFactory;
68+
69+
protected $_orderCollectionFactory;
70+
71+
protected $_orderConfig;
5472

5573
/**
5674
* Data constructor.

Plugin/Adminhtml/Post.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ class Post extends \Magento\Review\Controller\Adminhtml\Product\Post
4242
*/
4343
protected $_productRepository;
4444

45+
protected $customReviewFactory;
46+
47+
protected $galleryFactory;
48+
49+
protected $productRepository;
50+
4551
/**
4652
* Post constructor.
4753
* @param Context $context

Plugin/Adminhtml/Save.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ class Save
7777
*/
7878
protected $_dataObjectFactory;
7979

80+
protected $galleryFactory;
81+
82+
protected $customerRepository;
83+
8084
/**
8185
* Save constructor.
8286
* @param CustomReviewFactory $customReviewFactory

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Knowing the importance of boosting the customers trust to stores via reviews, we developed Magento 2 Product Reviews Extension to boost your business to the new level. The extension gives customers an allowance to post images, rate the review helpful or not, and filter needed reviews to meet their demands.",
44
"type": "magento2-module",
55
"license": "MIT",
6-
"version": "1.0.9",
6+
"version": "1.0.10",
77
"authors": [
88
{
99
"name": "Landofcoder",

etc/adminhtml/system.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
-->
2121
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
2222
<system>
23+
<tab id="landofcoder" translate="label" sortOrder="400">
24+
<label>Landofcoder Extensions Setting</label>
25+
</tab>
2326
<section id="lof_product_reviews" translate="label" type="text" sortOrder="1000" showInDefault="1" showInWebsite="1" showInStore="1">
2427
<class>separator-top</class>
2528
<label>Product Reviews And Ratings</label>

0 commit comments

Comments
 (0)