Skip to content

Commit

Permalink
remove action from constructor. #418
Browse files Browse the repository at this point in the history
  • Loading branch information
pippinsplugins committed Feb 9, 2013
1 parent 3537c41 commit d85f207
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions includes/class-edd-fees.php
Expand Up @@ -44,9 +44,7 @@ class EDD_Fees {
* @return void
*/

function __construct() {
add_action( 'edd_cart_items_after', array( $this, 'show_fees' ) );
}
function __construct() { /* Do nothing here (yet) */ }


/**
Expand Down
1 change: 1 addition & 0 deletions templates/checkout_cart.php
@@ -1,4 +1,5 @@
<?php global $post; ?>
<?php EDD()->fees->add_fee( '15.75', 'Some Fee amount' ); ?>
<table id="edd_checkout_cart" <?php if ( edd_is_ajax_enabled() ) { echo 'class="ajaxed"'; } ?>>
<thead>
<tr class="edd_cart_header_row">
Expand Down

0 comments on commit d85f207

Please sign in to comment.