Making WordPress.org


Ignore:
Timestamp:
03/21/2019 09:50:55 PM (6 years ago)
Author:
iandunn
Message:

WordCamp Payments Network: Temporarily disable cron jobs for debugging.

See https://wordpress.slack.com/archives/G02QCEMRY/p1553203553063500.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments-network/includes/sponsor-invoices-dashboard.php

    r8329 r8486  
    1313
    1414} elseif ( defined( 'DOING_CRON' ) ) {
    15     add_action( 'wcbdsi_check_for_paid_invoices', __NAMESPACE__ . '\check_for_paid_invoices'       );
     15//  add_action( 'wcbdsi_check_for_paid_invoices', __NAMESPACE__ . '\check_for_paid_invoices'       );
    1616    add_action( 'save_post',                      __NAMESPACE__ . '\update_index_row',       10, 2 );
    17     add_action( 'plugins_loaded',                 __NAMESPACE__ . '\schedule_sent_invoice_reminder' );
     17//  add_action( 'plugins_loaded',                 __NAMESPACE__ . '\schedule_sent_invoice_reminder' );
    1818
    1919} elseif ( is_network_admin() ) {
    20     add_action( 'plugins_loaded',        __NAMESPACE__ . '\schedule_cron_events'  );
     20//  add_action( 'plugins_loaded',        __NAMESPACE__ . '\schedule_cron_events'  );
    2121    add_action( 'network_admin_menu',    __NAMESPACE__ . '\register_submenu_page' );
    2222    add_action( 'init',                  __NAMESPACE__ . '\upgrade_database'      );
     
    3737    }
    3838
    39     wp_schedule_event( current_time( 'timestamp' ), 'hourly', 'wcbdsi_check_for_paid_invoices' );
     39//  wp_schedule_event( current_time( 'timestamp' ), 'hourly', 'wcbdsi_check_for_paid_invoices' );
    4040}
    4141
Note: See TracChangeset for help on using the changeset viewer.