Created
October 14, 2014 08:22
-
-
Save frozenminds/bdae7fed756951526acf to your computer and use it in GitHub Desktop.
Disable observers for Mage_Log. Module can not be disabled completely because other modules rely on it. Don't do this if you need the product compare feature.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
/** | |
* Disable observers for Mage_Log module. | |
*/ | |
--> | |
<config> | |
<frontend> | |
<events> | |
<!-- Disable Mage_Log --> | |
<controller_action_predispatch> | |
<observers> | |
<log> | |
<type>disabled</type> | |
</log> | |
</observers> | |
</controller_action_predispatch> | |
<controller_action_postdispatch> | |
<observers> | |
<log> | |
<type>disabled</type> | |
</log> | |
</observers> | |
</controller_action_postdispatch> | |
<customer_login> | |
<observers> | |
<log> | |
<type>disabled</type> | |
</log> | |
</observers> | |
</customer_login> | |
<customer_logout> | |
<observers> | |
<log> | |
<type>disabled</type> | |
</log> | |
</observers> | |
</customer_logout> | |
<sales_quote_save_after> | |
<observers> | |
<log> | |
<type>disabled</type> | |
</log> | |
</observers> | |
</sales_quote_save_after> | |
<checkout_quote_destroy> | |
<observers> | |
<log> | |
<type>disabled</type> | |
</log> | |
</observers> | |
</checkout_quote_destroy> | |
<!-- /Disable Mage_Log --> | |
</events> | |
</frontend> | |
</config> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment