Skip to content

Commit

Permalink
Jiggering enabled tests after test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
astorm committed Jul 13, 2014
1 parent 8962c95 commit 0f714bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/code/community/Segment/Analytics/Model/Observer.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function addContainerBlock($observer)
return;
}

if(Mage::helper('segment_analytics')->isEnabled())
if(!Mage::helper('segment_analytics')->isEnabled())
{
return;
}
Expand Down Expand Up @@ -54,7 +54,7 @@ public function addFrotnendScripts($observer)
{
return;
}
if(Mage::helper('segment_analytics')->isEnabled())
if(!Mage::helper('segment_analytics')->isEnabled())
{
return;
}
Expand Down
4 changes: 3 additions & 1 deletion app/code/community/Segment/Analytics/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
</frontend>
<global>
<events>

<controller_action_layout_generate_blocks_after>
<observers>
<segment_analyticsmore_scripts_addfrontend>
Expand All @@ -27,7 +28,7 @@
</segment_analyticsmore_scripts_addfrontend>
</observers>
</controller_action_layout_generate_blocks_after>

<customer_login>
<observers>
<segment_analyticsmore_scripts>
Expand Down Expand Up @@ -208,6 +209,7 @@
</observers>
</controller_action_layout_generate_blocks_after>


</events>

<blocks>
Expand Down

0 comments on commit 0f714bf

Please sign in to comment.