| @@ -25,17 +25,7 @@ | ||
| 25 | 25 | * Called when the plugin is deactivated. |
| 26 | 26 | * |
| 27 | 27 | * @since 1.0.0 |
| 28 | 28 | */ |
| 29 | - public static function deactivate() { | |
| 30 | - // Clear the plugin's scheduled cron events so they don't keep firing while the | |
| 31 | - // plugin is inactive. | |
| 32 | - if ( wp_next_scheduled( 'ayg_schedule_weekly' ) ) { | |
| 33 | - wp_clear_scheduled_hook( 'ayg_schedule_weekly' ); | |
| 34 | - } | |
| 35 | - | |
| 36 | - if ( wp_next_scheduled( 'ayg_cron_schedule' ) ) { | |
| 37 | - wp_clear_scheduled_hook( 'ayg_cron_schedule' ); | |
| 38 | - } | |
| 39 | - } | |
| 29 | + public static function deactivate() { } | |
| 40 | 30 | |
| 41 | 31 | } |