From b7f555b34deb54b199670810f2b7e3acc5e50881 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Bajsarowicz?= Date: Fri, 4 Aug 2023 13:30:31 +0200 Subject: [PATCH] #1759 Cleanup before further optimizations --- .../Customer/Edit/Tabs/Mailchimp.php | 19 +- .../Customer/Edit/Tabs/View/Customer.php | 13 +- Block/Adminhtml/Stores/Edit.php | 19 +- Block/Adminhtml/Stores/Edit/Form.php | 13 +- Block/Adminhtml/Stores/Edit/Tab/Address.php | 60 ++-- Block/Adminhtml/Stores/Edit/Tab/Info.php | 107 +++--- Block/Adminhtml/Stores/Edit/Tabs.php | 13 - Block/Adminhtml/System/Config/Account.php | 11 +- .../System/Config/CleanEcommerce.php | 10 +- .../System/Config/CreateAbandonedCart.php | 22 +- .../Adminhtml/System/Config/CreateWebhook.php | 19 +- Block/Adminhtml/System/Config/Date.php | 12 +- Block/Adminhtml/System/Config/DeleteStore.php | 23 +- .../Adminhtml/System/Config/Fieldset/Hint.php | 18 +- .../System/Config/FixMailchimpJS.php | 10 +- .../System/Config/Form/Field/CustomerMap.php | 23 +- .../System/Config/Form/Field/MailchimpMap.php | 25 +- .../System/Config/Form/Field/VarsMap.php | 43 +-- Block/Adminhtml/System/Config/OauthWizard.php | 27 +- Block/Adminhtml/System/Config/ResetErrors.php | 23 +- .../System/Config/ResetErrorsNoRetry.php | 23 +- Block/Adminhtml/System/Config/ResetStore.php | 14 +- .../System/Config/ResyncProducts.php | 10 +- .../System/Config/ResyncSubscriber.php | 10 +- Block/Catcher.php | 14 +- Block/Checkout/Success.php | 36 +- Block/Loadquote.php | 8 - Block/Mailchimpjs.php | 25 +- Block/Newsletter.php | 24 +- Block/Subscribe.php | 11 +- Controller/Adminhtml/Batch/GetResponse.php | 40 +-- Controller/Adminhtml/Batch/Index.php | 16 +- Controller/Adminhtml/Cron/Index.php | 16 +- .../Adminhtml/Ecommerce/CheckEcommerce.php | 24 +- .../Adminhtml/Ecommerce/CleanEcommerce.php | 25 +- .../Adminhtml/Ecommerce/CreateWebhook.php | 24 +- .../Adminhtml/Ecommerce/DeleteStore.php | 24 +- .../Adminhtml/Ecommerce/FixMailchimpJS.php | 24 +- .../Adminhtml/Ecommerce/GetInterest.php | 24 +- .../Adminhtml/Ecommerce/Getaccountdetails.php | 56 +-- .../Adminhtml/Ecommerce/ResetLocalErrors.php | 25 +- .../Ecommerce/ResetLocalErrorsNoRetry.php | 25 +- Controller/Adminhtml/Ecommerce/ResetStore.php | 22 +- .../Adminhtml/Ecommerce/ResyncProducts.php | 22 +- .../Adminhtml/Ecommerce/ResyncSubscribers.php | 23 +- Controller/Adminhtml/Errors/Getresponse.php | 40 +-- Controller/Adminhtml/Errors/Index.php | 16 +- Controller/Adminhtml/Lists/Get.php | 23 +- Controller/Adminhtml/Orders/Campaign.php | 8 +- Controller/Adminhtml/Orders/Member.php | 12 +- Controller/Adminhtml/Stores.php | 25 +- Controller/Adminhtml/Stores/Delete.php | 20 +- Controller/Adminhtml/Stores/Edit.php | 18 +- Controller/Adminhtml/Stores/Get.php | 23 +- Controller/Adminhtml/Stores/Index.php | 14 +- Controller/Adminhtml/Stores/Save.php | 50 ++- Controller/Campaign/Check.php | 22 +- Controller/Cart/Loadquote.php | 34 +- Controller/Checkout/Success.php | 41 +-- Controller/WebHook/Index.php | 41 +-- Cron/BatchesClean.php | 18 +- Cron/Ecommerce.php | 87 +++-- Cron/ErrorsClean.php | 22 +- Cron/Webhook.php | 119 ++++--- Cron/WebhookClean.php | 16 +- Helper/Data.php | 328 +++++++++++------- Helper/Sync.php | 20 +- Helper/VarsMap.php | 32 +- Model/Api/Cart.php | 110 +++--- Model/Api/Customer.php | 80 +++-- Model/Api/Order.php | 105 +++--- Model/Api/Product.php | 215 +++++++----- Model/Api/PromoCodes.php | 52 +-- Model/Api/PromoRules.php | 60 ++-- Model/Api/Result.php | 98 +++--- Model/Api/Subscriber.php | 50 ++- Model/Config/Backend/ApiKey.php | 23 +- Model/Config/Backend/MonkeyList.php | 20 +- Model/Config/Backend/MonkeyStore.php | 29 +- Model/Config/Backend/VarsMap.php | 17 +- Model/Config/ModuleVersion.php | 6 +- Model/Config/Source/ApiKey.php | 23 +- Model/Config/Source/Cmspage.php | 14 +- Model/Config/Source/Details.php | 35 +- Model/Config/Source/Interest.php | 20 +- Model/Config/Source/MonkeyList.php | 18 +- Model/Config/Source/MonkeyStore.php | 24 +- Model/Config/Source/Months.php | 14 +- Model/Config/Source/Timeout.php | 2 +- Model/Config/Source/WebhookDelete.php | 15 +- Model/Logger/Handler.php | 11 - Model/Logger/Logger.php | 9 - Model/MailChimpErrors.php | 14 +- Model/MailChimpInterestGroup.php | 13 +- Model/MailChimpStores.php | 11 - Model/MailChimpSyncBatches.php | 12 +- Model/MailChimpSyncEcommerce.php | 20 +- Model/MailChimpSyncEcommerceFactory.php | 17 +- Model/MailChimpWebhookRequest.php | 11 - Model/Plugin/AccountManagement.php | 21 +- Model/Plugin/Coupon.php | 15 +- Model/Plugin/Creditmemo.php | 18 +- Model/Plugin/Invoice.php | 11 +- Model/Plugin/Newsletter/Save.php | 26 +- Model/Plugin/Quote.php | 15 +- Model/Plugin/Ship.php | 17 +- Model/Plugin/Subscriber.php | 19 +- Model/Plugin/SubscriptionManager.php | 39 +-- Model/ResourceModel/MailChimpErrors.php | 21 +- .../ResourceModel/MailChimpInterestGroup.php | 16 +- .../MailChimpInterestGroup/Collection.php | 6 - Model/ResourceModel/MailChimpStores.php | 12 - .../MailChimpStores/Collection.php | 12 +- .../MailChimpStores/Grid/Collection.php | 7 +- Model/ResourceModel/MailChimpSyncBatches.php | 13 +- .../MailChimpSyncBatches/Collection.php | 11 - .../ResourceModel/MailChimpSyncEcommerce.php | 50 +-- .../MailChimpSyncEcommerce/Collection.php | 12 +- .../ResourceModel/MailChimpWebhookRequest.php | 13 +- .../MailChimpWebhookRequest/Collection.php | 12 +- Model/ResourceModel/Schedule/Collection.php | 15 +- Observer/Adminhtml/Customer/SaveAfter.php | 21 +- Observer/Adminhtml/Product/DeleteAfter.php | 14 +- Observer/Adminhtml/Product/ImportAfter.php | 28 +- Observer/Adminhtml/Product/SaveAfter.php | 21 +- Observer/Adminhtml/Product/SaveBefore.php | 6 +- Observer/ConfigObserver.php | 25 +- Observer/Customer/SaveBefore.php | 23 +- Observer/Sales/Order/SaveAfter.php | 18 +- Observer/Sales/Order/SubmitAfter.php | 24 +- Observer/Sales/Order/SubmitBefore.php | 16 +- Observer/SalesRule/Rule/DeleteAfter.php | 19 +- Observer/SalesRule/Rule/SaveAfter.php | 21 +- Observer/Subscriber/SaveAfter.php | 29 +- Setup/Patch/Data/Migrate24.php | 21 +- Setup/Patch/Data/Migrate32.php | 13 +- Setup/Patch/Data/Migrate35.php | 8 +- Setup/Patch/Data/Migrate452.php | 15 +- Setup/Uninstall.php | 8 +- Ui/Component/Batch/Grid/Column/Batches.php | 21 +- Ui/Component/Errors/Grid/Column/Batch.php | 33 +- Ui/Component/Listing/Column/Customers.php | 24 +- Ui/Component/Listing/Column/Monkey.php | 48 +-- Ui/Component/Listing/Column/Products.php | 15 +- Ui/Component/Stores/Grid/Column/Actions.php | 20 +- etc/acl.xml | 12 +- etc/crontab.xml | 12 +- 147 files changed, 1604 insertions(+), 2544 deletions(-) diff --git a/Block/Adminhtml/Customer/Edit/Tabs/Mailchimp.php b/Block/Adminhtml/Customer/Edit/Tabs/Mailchimp.php index 85563406..007adc92 100644 --- a/Block/Adminhtml/Customer/Edit/Tabs/Mailchimp.php +++ b/Block/Adminhtml/Customer/Edit/Tabs/Mailchimp.php @@ -1,22 +1,9 @@ - * @copyright Ebizmarts (http://ebizmarts.com) - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * @date: 11/29/17 1:55 PM - * @file: Mailchimp.php - */ namespace Ebizmarts\MailChimp\Block\Adminhtml\Customer\Edit\Tabs; use Magento\Customer\Controller\RegistryConstants; use Magento\Ui\Component\Layout\Tabs\TabInterface; -use Magento\Backend\Block\Widget\Form; -use Magento\Backend\Block\Widget\Form\Generic; class Mailchimp extends \Magento\Backend\Block\Template implements TabInterface { @@ -30,7 +17,6 @@ class Mailchimp extends \Magento\Backend\Block\Template implements TabInterface protected $_coreRegistry; /** - * Mailchimp constructor. * @param \Magento\Backend\Block\Template\Context $context * @param \Magento\Framework\Registry $registry * @param \Magento\Framework\Data\FormFactory $formFactory @@ -80,6 +66,7 @@ public function canShowTab() if ($this->getCustomerId()) { return true; } + return false; } @@ -91,12 +78,12 @@ public function isHidden() if ($this->getCustomerId()) { return false; } + return true; } /** * Tab class getter - * * @return string */ public function getTabClass() @@ -106,7 +93,6 @@ public function getTabClass() /** * Return URL link to Tab content - * * @return string */ public function getTabUrl() @@ -116,7 +102,6 @@ public function getTabUrl() /** * Tab should be loaded trough Ajax call - * * @return bool */ public function isAjaxLoaded() diff --git a/Block/Adminhtml/Customer/Edit/Tabs/View/Customer.php b/Block/Adminhtml/Customer/Edit/Tabs/View/Customer.php index 9f9bffd4..1767a8ed 100644 --- a/Block/Adminhtml/Customer/Edit/Tabs/View/Customer.php +++ b/Block/Adminhtml/Customer/Edit/Tabs/View/Customer.php @@ -1,15 +1,5 @@ - * @copyright Ebizmarts (http://ebizmarts.com) - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * @date: 11/29/17 2:49 PM - * @file: Customer.php - */ + namespace Ebizmarts\MailChimp\Block\Adminhtml\Customer\Edit\Tabs\View; @@ -30,7 +20,6 @@ class Customer extends \Magento\Backend\Block\Template protected $registry; /** - * Customer constructor. * @param \Magento\Backend\Block\Template\Context $context * @param \Ebizmarts\MailChimp\Helper\Data $helper * @param \Magento\Newsletter\Model\SubscriberFactory $subscriberFactory diff --git a/Block/Adminhtml/Stores/Edit.php b/Block/Adminhtml/Stores/Edit.php index adc266fc..b4896313 100644 --- a/Block/Adminhtml/Stores/Edit.php +++ b/Block/Adminhtml/Stores/Edit.php @@ -1,20 +1,9 @@ - * @copyright Ebizmarts (http://ebizmarts.com) - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * @date: 4/10/17 1:08 PM - * @file: Edit.php - */ namespace Ebizmarts\MailChimp\Block\Adminhtml\Stores; -use Magento\Backend\Block\Widget\Form\Container; use Magento\Backend\Block\Widget\Context; +use Magento\Backend\Block\Widget\Form\Container; use Magento\Framework\Registry; class Edit extends Container @@ -23,8 +12,8 @@ class Edit extends Container * @var Registry */ protected $_coreRegistry; + /** - * Edit constructor. * @param Context $context * @param Registry $registry * @param array $data @@ -34,10 +23,10 @@ public function __construct( Registry $registry, array $data = [] ) { - $this->_coreRegistry = $registry; parent::__construct($context, $data); } + protected function _construct() { $this->_objectId = 'id'; @@ -68,7 +57,6 @@ protected function _construct() /** * Retrieve text for header element depending on loaded news - * * @return string */ public function getHeaderText() @@ -76,6 +64,7 @@ public function getHeaderText() $storeRegistry = $this->_coreRegistry->registry('mailchimp_stores'); if ($storeRegistry->getId()) { $storeTitle = $this->escapeHtml($storeRegistry->getTitle()); + return __("Edit Store '%1'", $storeTitle); } else { return __('Add Store'); diff --git a/Block/Adminhtml/Stores/Edit/Form.php b/Block/Adminhtml/Stores/Edit/Form.php index 89e15340..8f31a518 100644 --- a/Block/Adminhtml/Stores/Edit/Form.php +++ b/Block/Adminhtml/Stores/Edit/Form.php @@ -1,15 +1,4 @@ - * @copyright Ebizmarts (http://ebizmarts.com) - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * @date: 4/10/17 4:04 PM - * @file: Form.php - */ namespace Ebizmarts\MailChimp\Block\Adminhtml\Stores\Edit; @@ -23,7 +12,7 @@ protected function _prepareForm() $form = $this->_formFactory->create( [ 'data' => [ - 'id' => 'edit_form', + 'id' => 'edit_form', 'action' => $this->getData('action'), 'method' => 'post' ] diff --git a/Block/Adminhtml/Stores/Edit/Tab/Address.php b/Block/Adminhtml/Stores/Edit/Tab/Address.php index 9d067e1f..127793f4 100644 --- a/Block/Adminhtml/Stores/Edit/Tab/Address.php +++ b/Block/Adminhtml/Stores/Edit/Tab/Address.php @@ -1,22 +1,12 @@ - * @copyright Ebizmarts (http://ebizmarts.com) - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * @date: 4/12/17 5:07 PM - * @file: Address.php - */ + namespace Ebizmarts\MailChimp\Block\Adminhtml\Stores\Edit\Tab; +use Magento\Backend\Block\Template\Context; use Magento\Backend\Block\Widget\Form\Generic; use Magento\Backend\Block\Widget\Tab\TabInterface; -use Magento\Backend\Block\Template\Context; -use Magento\Framework\Registry; use Magento\Framework\Data\FormFactory; +use Magento\Framework\Registry; class Address extends Generic implements TabInterface { @@ -26,7 +16,6 @@ class Address extends Generic implements TabInterface protected $_country; /** - * Address constructor. * @param Context $context * @param Registry $registry * @param FormFactory $formFactory @@ -40,15 +29,14 @@ public function __construct( \Magento\Directory\Model\Config\Source\Country $country, array $data = [] ) { - $this->_country = $country; parent::__construct($context, $registry, $formFactory, $data); } protected function _prepareForm() { - $model = $this->_coreRegistry->registry('mailchimp_stores'); - $form = $this->_formFactory->create(); + $model = $this->_coreRegistry->registry('mailchimp_stores'); + $form = $this->_formFactory->create(); $form->setHtmlIdPrefix('stores_'); $form->setFieldNameSuffix('stores'); $fieldset = $form->addFieldset( @@ -66,40 +54,40 @@ protected function _prepareForm() 'address_address_one', 'text', [ - 'name' => 'address_address_one', - 'label' => __('Street'), - 'required' => true + 'name' => 'address_address_one', + 'label' => __('Street'), + 'required' => true ] ); $fieldset->addField( 'address_address_two', 'text', [ - 'name' => 'address_address_two', - 'label' => __('Street'), - 'required' => false + 'name' => 'address_address_two', + 'label' => __('Street'), + 'required' => false ] ); $fieldset->addField( 'address_city', 'text', [ - 'name' => 'address_city', - 'label' => __('City'), - 'required' => true + 'name' => 'address_city', + 'label' => __('City'), + 'required' => true ] ); $fieldset->addField( 'address_postal_code', 'text', [ - 'name' => 'address_postal_code', - 'label' => __('Postal Code'), - 'required' => false + 'name' => 'address_postal_code', + 'label' => __('Postal Code'), + 'required' => false ] ); $country = $this->_country->toOptionArray(); - $countryArray = [''=> __('Select one')]; + $countryArray = ['' => __('Select one')]; foreach ($country as $c) { $countryArray[$c['value']] = $c['label']; } @@ -107,10 +95,10 @@ protected function _prepareForm() 'address_country_code', 'select', [ - 'name' => 'address_country_code', - 'label' => __('Country'), - 'required' => true, - 'options' => $countryArray + 'name' => 'address_country_code', + 'label' => __('Country'), + 'required' => true, + 'options' => $countryArray ] ); @@ -120,18 +108,22 @@ protected function _prepareForm() return parent::_prepareForm(); } + public function getTabLabel() { return __('Store Address Info'); } + public function getTabTitle() { return __('Store Address Info'); } + public function canShowTab() { return true; } + public function isHidden() { return false; diff --git a/Block/Adminhtml/Stores/Edit/Tab/Info.php b/Block/Adminhtml/Stores/Edit/Tab/Info.php index 0ea80bf5..9d983d08 100644 --- a/Block/Adminhtml/Stores/Edit/Tab/Info.php +++ b/Block/Adminhtml/Stores/Edit/Tab/Info.php @@ -1,23 +1,12 @@ - * @copyright Ebizmarts (http://ebizmarts.com) - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * @date: 4/12/17 11:03 AM - * @file: Info.php - */ namespace Ebizmarts\MailChimp\Block\Adminhtml\Stores\Edit\Tab; +use Magento\Backend\Block\Template\Context; use Magento\Backend\Block\Widget\Form\Generic; use Magento\Backend\Block\Widget\Tab\TabInterface; -use Magento\Backend\Block\Template\Context; -use Magento\Framework\Registry; use Magento\Framework\Data\FormFactory; +use Magento\Framework\Registry; class Info extends Generic implements TabInterface { @@ -43,7 +32,6 @@ class Info extends Generic implements TabInterface protected $_apikey; /** - * Info constructor. * @param Context $context * @param Registry $registry * @param FormFactory $formFactory @@ -65,19 +53,18 @@ public function __construct( \Ebizmarts\MailChimp\Model\Config\Source\ApiKey $apiKey, array $data = [] ) { - - $this->_timezone = $timezone; - $this->_yesno = $yesno; - $this->_currency = $currency; - $this->_locale = $locale; - $this->_apikey = $apiKey; + $this->_timezone = $timezone; + $this->_yesno = $yesno; + $this->_currency = $currency; + $this->_locale = $locale; + $this->_apikey = $apiKey; parent::__construct($context, $registry, $formFactory, $data); } protected function _prepareForm() { - $model = $this->_coreRegistry->registry('mailchimp_stores'); - $form = $this->_formFactory->create(); + $model = $this->_coreRegistry->registry('mailchimp_stores'); + $form = $this->_formFactory->create(); $form->setHtmlIdPrefix('stores_'); $form->setFieldNameSuffix('stores'); @@ -113,21 +100,21 @@ protected function _prepareForm() 'apikey', 'select', [ - 'name' => 'apikey', - 'label' => __('Apikey'), - 'required' => true, - 'options' => $apikeyArray, + 'name' => 'apikey', + 'label' => __('Apikey'), + 'required' => true, + 'options' => $apikeyArray, ] ); - $listArray = [''=>__('Select first an ApiKey')]; + $listArray = ['' => __('Select first an ApiKey')]; $fieldset->addField( 'list_id', 'select', [ - 'name' => 'list_id', - 'label' => __('List'), - 'required' => true, - 'options' => $listArray, + 'name' => 'list_id', + 'label' => __('List'), + 'required' => true, + 'options' => $listArray, ] ); } @@ -136,9 +123,9 @@ protected function _prepareForm() 'name', 'text', [ - 'name' => 'name', - 'label' => __('Name'), - 'required' => true + 'name' => 'name', + 'label' => __('Name'), + 'required' => true ] ); @@ -146,9 +133,9 @@ protected function _prepareForm() 'domain', 'text', [ - 'name' => 'domain', - 'label' => __('Domain'), - 'required' => true + 'name' => 'domain', + 'label' => __('Domain'), + 'required' => true ] ); @@ -156,13 +143,13 @@ protected function _prepareForm() 'email_address', 'text', [ - 'name' => 'email_address', - 'label' => __('Email'), - 'required' => true + 'name' => 'email_address', + 'label' => __('Email'), + 'required' => true ] ); $currency = $this->_currency->toOptionArray(); - $currencyArray = [''=> __('Select one')]; + $currencyArray = ['' => __('Select one')]; foreach ($currency as $c) { $currencyArray[$c['value']] = $c['label']; } @@ -170,14 +157,14 @@ protected function _prepareForm() 'currency_code', 'select', [ - 'name' => 'currency_code', - 'label' => __('Currency'), - 'required' => true, - 'options' => $currencyArray + 'name' => 'currency_code', + 'label' => __('Currency'), + 'required' => true, + 'options' => $currencyArray ] ); $locale = $this->_locale->toOptionArray(); - $localeArray = [''=> __('Select one')]; + $localeArray = ['' => __('Select one')]; foreach ($locale as $l) { $localeArray[$l['value']] = $l['label']; } @@ -186,14 +173,14 @@ protected function _prepareForm() 'primary_locale', 'select', [ - 'name' => 'primary_locale', - 'label' => __('Locale'), - 'required' => true, - 'options' => $localeArray + 'name' => 'primary_locale', + 'label' => __('Locale'), + 'required' => true, + 'options' => $localeArray ] ); $timezone = $this->_timezone->toOptionArray(); - $timezoneArray = [''=> __('Select one')]; + $timezoneArray = ['' => __('Select one')]; foreach ($timezone as $t) { $timezoneArray[$t['value']] = $t['label']; } @@ -201,19 +188,19 @@ protected function _prepareForm() 'timezone', 'select', [ - 'name' => 'timezone', - 'label' => __('TimeZone'), - 'required' => true, - 'options' => $timezoneArray + 'name' => 'timezone', + 'label' => __('TimeZone'), + 'required' => true, + 'options' => $timezoneArray ] ); $fieldset->addField( 'phone', 'text', [ - 'name' => 'phone', - 'label' => __('Phone'), - 'required' => true + 'name' => 'phone', + 'label' => __('Phone'), + 'required' => true ] ); @@ -223,18 +210,22 @@ protected function _prepareForm() return parent::_prepareForm(); } + public function getTabLabel() { return __('Store Info'); } + public function getTabTitle() { return __('Store Info'); } + public function canShowTab() { return true; } + public function isHidden() { return false; diff --git a/Block/Adminhtml/Stores/Edit/Tabs.php b/Block/Adminhtml/Stores/Edit/Tabs.php index 3a04ce67..cee5a747 100644 --- a/Block/Adminhtml/Stores/Edit/Tabs.php +++ b/Block/Adminhtml/Stores/Edit/Tabs.php @@ -1,15 +1,4 @@ - * @copyright Ebizmarts (http://ebizmarts.com) - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * @date: 4/12/17 11:01 AM - * @file: Tabs.php - */ namespace Ebizmarts\MailChimp\Block\Adminhtml\Stores\Edit; @@ -18,8 +7,6 @@ class Tabs extends WidgetTabs { /** - * Class constructor - * * @return void */ protected function _construct() diff --git a/Block/Adminhtml/System/Config/Account.php b/Block/Adminhtml/System/Config/Account.php index 4de36778..2da4b08f 100644 --- a/Block/Adminhtml/System/Config/Account.php +++ b/Block/Adminhtml/System/Config/Account.php @@ -1,13 +1,4 @@ - * @copyright Ebizmarts (http://ebizmarts.com) - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - */ namespace Ebizmarts\MailChimp\Block\Adminhtml\System\Config; @@ -20,7 +11,7 @@ protected function _getElementHtml(\Magento\Framework\Data\Form\Element\Abstract $html .= '