From c60d73171cb0b8a454e45008dbff182cf4dedf3d Mon Sep 17 00:00:00 2001 From: kcppdevelopers Date: Fri, 25 Dec 2015 14:17:52 +0530 Subject: [PATCH] remove duplicate function, ref #215 --- paypal-for-woocommerce.php | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/paypal-for-woocommerce.php b/paypal-for-woocommerce.php index 197feb8b5..27c2bc085 100644 --- a/paypal-for-woocommerce.php +++ b/paypal-for-woocommerce.php @@ -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(); \ No newline at end of file