| @@ -2,10 +2,8 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * Cron controller |
| 4 | 4 | * |
| 5 | 5 | * @since 6.3.2 |
| 6 | - * | |
| 7 | - * @package Formidable | |
| 8 | 6 | */ |
| 9 | 7 | |
| 10 | 8 | if ( ! defined( 'ABSPATH' ) ) { |
| 11 | 9 | die( 'You are not allowed to call this page directly.' ); |
| @@ -37,12 +35,10 @@ | ||
| 37 | 35 | * @since 6.7 |
| 38 | 36 | */ |
| 39 | 37 | public static function schedule_events() { |
| 40 | 38 | $events = self::get_events(); |
| 41 | - | |
| 42 | - // These are scheduled in another place. | |
| 43 | - unset( $events['formidable_send_usage'] ); | |
| 44 | - unset( $events['frm_payment_cron'] ); | |
| 39 | + unset( $events['formidable_send_usage'] ); // This is scheduled in another place. | |
| 40 | + unset( $events['frm_payment_cron'] ); // This is scheduled in another place. | |
| 45 | 41 | |
| 46 | 42 | foreach ( $events as $event => $recurrence ) { |
| 47 | 43 | if ( ! wp_next_scheduled( $event ) ) { |
| 48 | 44 | wp_schedule_event( time(), $recurrence, $event ); |