Skip to content

Commit

Permalink
rename all admin observers closes #1516 for magento 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzaloebiz committed Aug 18, 2022
1 parent 72fccc4 commit 97b85d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions etc/adminhtml/events.xml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
<event name="sales_order_save_after">
<observer name="sales_order_save_after" instance="\Ebizmarts\MailChimp\Observer\Sales\Order\SaveAfter"/>
<observer name="mailchimp_admin_sales_order_save_after" instance="\Ebizmarts\MailChimp\Observer\Sales\Order\SaveAfter"/>
</event>
<event name="admin_system_config_changed_section_mailchimp">
<observer name="mailchimp_admin_system_config_changed_section_mailchimp" instance="Ebizmarts\MailChimp\Observer\ConfigObserver"/>
</event>
<event name="salesrule_rule_save_after">
<observer name="mailchimp_salesrule_rule_save_after" instance="\Ebizmarts\MailChimp\Observer\SalesRule\Rule\SaveAfter"/>
<observer name="mailchimp_admin_salesrule_rule_save_after" instance="\Ebizmarts\MailChimp\Observer\SalesRule\Rule\SaveAfter"/>
</event>
<event name="salesrule_rule_delete_after">
<observer name="mailchimp_salesrule_rule_delete_after" instance="\Ebizmarts\MailChimp\Observer\SalesRule\Rule\DeleteAfter"/>
<observer name="mailchimp_admin_salesrule_rule_delete_after" instance="\Ebizmarts\MailChimp\Observer\SalesRule\Rule\DeleteAfter"/>
</event>
<event name="adminhtml_customer_save_after">
<observer name="mailchimp_adminhtml_customer_save_after" instance="\Ebizmarts\MailChimp\Observer\Adminhtml\Customer\SaveAfter" />
</event>
<event name="catalog_product_delete_after">
<observer name="mailchimp_product_delete_after" instance="\Ebizmarts\MailChimp\Observer\Adminhtml\Product\DeleteAfter" />
<observer name="mailchimp_admin_product_delete_after" instance="\Ebizmarts\MailChimp\Observer\Adminhtml\Product\DeleteAfter" />
</event>
</config>

0 comments on commit 97b85d3

Please sign in to comment.