Skip to content

Instantly share code, notes, and snippets.

@IvanChepurnyi
Created November 5, 2013 09:41
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save IvanChepurnyi/7316401 to your computer and use it in GitHub Desktop.
Save IvanChepurnyi/7316401 to your computer and use it in GitHub Desktop.
Disable Mage_Reports module
<config>
<frontend>
<catalog_product_compare_remove_product>
<observers>
<reports>
<type>disabled</type>
</reports>
</observers>
</catalog_product_compare_remove_product>
<customer_login>
<observers>
<reports>
<type>disabled</type>
</reports>
</observers>
</customer_login>
<customer_logout>
<observers>
<reports>
<type>disabled</type>
</reports>
</observers>
</customer_logout>
<catalog_controller_product_view>
<observers>
<reports>
<type>disabled</type>
</reports>
</observers>
</catalog_controller_product_view>
<sendfriend_product>
<observers>
<reports>
<type>disabled</type>
</reports>
</observers>
</sendfriend_product>
<catalog_product_compare_add_product>
<observers>
<reports>
<type>disabled</type>
</reports>
</observers>
</catalog_product_compare_add_product>
<catalog_product_compare_item_collection_clear>
<observers>
<reports>
<type>disabled</type>
</reports>
</observers>
</catalog_product_compare_item_collection_clear>
<sales_quote_item_save_before>
<observers>
<reports>
<type>disabled</type>
</reports>
</observers>
</sales_quote_item_save_before>
<wishlist_add_product>
<observers>
<reports>
<type>disabled</type>
</reports>
</observers>
</wishlist_add_product>
<wishlist_share>
<observers>
<reports>
<type>disabled</type>
</reports>
</observers>
</wishlist_share>
</frontend>
</config>
@zpetr
Copy link

zpetr commented Dec 5, 2013

<events> tag is missed:

<config>
<frontend>
<events>
...
</events>
</frontend>
</config>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment