Update monero_payments.php

This commit is contained in:
serhack 2017-07-15 15:56:14 +02:00 committed by GitHub
parent 7f9fabbfa7
commit 1d5b9bcf67

View file

@ -40,11 +40,11 @@ class Monero_Gateway extends WC_Payment_Gateway
'validate_fields'
));
add_action('admin_notices', array( $this, 'connect_daemon'));
add_action('woocommerce_thankyou_' . $this->id, array( $this, 'instruction' ) ));
add_action('woocommerce_thankyou_' . $this->id, array( $this, 'instruction' ) );
if (is_admin()) {
/* Save Settings */