Skip to content

Commit

Permalink
remove duplicate function, ref #215
Browse files Browse the repository at this point in the history
  • Loading branch information
kcppdevelopers committed Dec 25, 2015
1 parent 6fbe3e1 commit c60d731
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions paypal-for-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -1021,20 +1021,6 @@ public function update_wc_paypal_plug_not_support_currency_nag() {
add_user_meta( $current_user->ID, '_wc_paypal_plus_not_support_currency_nag', '1', true );
}
}

public function angelleye_admin_menu_own(){
$this->plugin_screen_hook_suffix = add_submenu_page(
'options-general.php',
__( 'PayPal for WooCommerce - Settings', 'paypal-for-woocommerce' ),
__( 'PayPal for WooCommerce', 'paypal-for-woocommerce' ),
'manage_options',
'paypal-for-woocommerce',
array( $this, 'display_plugin_admin_page'));
}

public function display_plugin_admin_page(){
include_once( 'template/admin.php' );
}
}
}
}
new AngellEYE_Gateway_Paypal();

0 comments on commit c60d731

Please sign in to comment.