/home/techb158/l2hypotheques.com/wp-content/plugins/wpforms-lite/src/Migrations
NameSizeModeActions
Tasks/-0755rm
Base.php123240644editdlrm
Migrations.php9920644editdlrm
Upgrade1_9_1.php14060644editdlrm
Upgrade1_9_2.php9110644editdlrm
Upgrade1_9_7.php3330644editdlrm
Upgrade1_9_8_6.php28020644editdlrm
Upgrade159.php7070644editdlrm
Upgrade168.php12680644editdlrm
Upgrade175.php27370644editdlrm
Upgrade177.php12400644editdlrm
Upgrade182.php31760644editdlrm
Upgrade183.php7690644editdlrm
Upgrade184.php9090644editdlrm
Upgrade186.php3950644editdlrm
Upgrade187.php13870644editdlrm
Upgrade1672.php8630644editdlrm
Upgrade1751.php5620644editdlrm
UpgradeBase.php35120644editdlrm
Edit: /home/techb158/l2hypotheques.com/wp-content/plugins/wpforms-lite/src/Migrations/Upgrade1_9_1.php (1406B)
clean_summaries_cron_event(); $notifications_option_key = 'wpforms_notifications'; $notifications = get_option( $notifications_option_key, [] ); if ( empty( $notifications['events'] ) ) { return true; } $notifications['events'] = []; update_option( 'wpforms_notifications', $notifications ); return true; } /** * Clean summaries and entries count cron events, * Since the 1.9.1 release these cron events recurrences have been changed to single event. * The events will be recreated on the next page load. * * @since 1.9.1 */ private function clean_summaries_cron_event() { if ( wp_next_scheduled( 'wpforms_weekly_entries_count_cron' ) ) { wp_clear_scheduled_hook( 'wpforms_weekly_entries_count_cron' ); } if ( wp_next_scheduled( 'wpforms_email_summaries_cron' ) ) { wp_clear_scheduled_hook( 'wpforms_email_summaries_cron' ); } } }