From 1d5b9bcf673ed7b7d5ac8623f3ec61b55a25de3b Mon Sep 17 00:00:00 2001 From: serhack Date: Sat, 15 Jul 2017 15:56:14 +0200 Subject: [PATCH] Update monero_payments.php --- monero/include/monero_payments.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monero/include/monero_payments.php b/monero/include/monero_payments.php index bebaa90..03bf4d7 100644 --- a/monero/include/monero_payments.php +++ b/monero/include/monero_payments.php @@ -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 */