Permalink
Browse files

remove payment_scripts, ref #395

  • Loading branch information...
kcppdevelopers committed Jan 20, 2016
1 parent d560d72 commit d72256028809c2f887466a225c4467dc80898d2d
Showing with 1 addition and 15 deletions.
  1. +1 −15 classes/wc-gateway-paypal-pro-payflow-angelleye.php
@@ -64,8 +64,6 @@ function __construct() {
'refunds'
);
add_action( 'wp_enqueue_scripts', array( $this, 'payment_scripts' ) );
/* 1.6.6 */
add_action( 'woocommerce_update_options_payment_gateways', array( $this, 'process_admin_options' ) );
@@ -77,19 +75,7 @@ function add_log( $message ) {
$this->log = new WC_Logger();
$this->log->add( 'paypal_payflow', $message );
}
/**
* payment_scripts function.
*
* @access public
*/
function payment_scripts() {
if ( ! is_checkout() )
return;
wp_enqueue_style( 'wc-paypal-pro', plugins_url( 'assets/css/checkout.css', dirname( __FILE__ ) ) );
wp_enqueue_script( 'card-type-detection', plugins_url( 'assets/js/card-type-detection.min.js', dirname( __FILE__ ) ), 'jquery', '1.0.0', true );
}
/**
* Initialise Gateway Settings Form Fields
*/

0 comments on commit d722560

Please sign in to comment.