Plugin Directory

Changeset 2903219


Ignore:
Timestamp:
04/24/2023 09:33:56 AM (3 years ago)
Author:
totalprocessing
Message:

Fixed static function call

Location:
totalprocessing-card-payments
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • totalprocessing-card-payments/tags/5.3.3/includes/class-totalprocessing-card-payments-and-gateway-woocommerce-deactivator.php

    r2900759 r2903219  
    3636    }
    3737
    38     public function tpcp_gateway_cardsv2_deactivation() {
     38    public static function tpcp_gateway_cardsv2_deactivation() {
    3939        delete_option( TP_CONSTANTS::GLOBAL_PREFIX . 'gateway_cardsv2_e2e' );
    4040        $iFramePageId = (int)get_option( TP_CONSTANTS::GLOBAL_PREFIX . 'gateway_cardsv2_iframe' );
     
    4747    }
    4848
    49     function cronstarter_deactivate() {
     49    public static function cronstarter_deactivate() {
    5050        // find out when the last event was scheduled
    5151        $timestamp = wp_next_scheduled( TP_CONSTANTS::GLOBAL_PREFIX . 'dupe_payment_validation' );
  • totalprocessing-card-payments/trunk/includes/class-totalprocessing-card-payments-and-gateway-woocommerce-deactivator.php

    r2869427 r2903219  
    3636    }
    3737
    38     public function tpcp_gateway_cardsv2_deactivation() {
     38    public static function tpcp_gateway_cardsv2_deactivation() {
    3939        delete_option( TP_CONSTANTS::GLOBAL_PREFIX . 'gateway_cardsv2_e2e' );
    4040        $iFramePageId = (int)get_option( TP_CONSTANTS::GLOBAL_PREFIX . 'gateway_cardsv2_iframe' );
     
    4747    }
    4848
    49     function cronstarter_deactivate() {
     49    public static function cronstarter_deactivate() {
    5050        // find out when the last event was scheduled
    5151        $timestamp = wp_next_scheduled( TP_CONSTANTS::GLOBAL_PREFIX . 'dupe_payment_validation' );
Note: See TracChangeset for help on using the changeset viewer.