Commit f285e3a9 authored by Erick Hitter's avatar Erick Hitter
Browse files

Remove remnant of CPT that imposes problematic and arbitrary limit

When events are capped in this way, if they don't appear in the reconstructed array, they can be continually rescheduled.

With the introduction of the block on existing-event creation introduced in 61597bc5, this approach should longer be necessary. The creation of duplicates is also greatly reduced by the table's unique key.

Fixes #94
parent 0b6dd0cb
......@@ -146,12 +146,6 @@ class Events_Store extends Singleton {
// Something's probably wrong if a site has more than 1,500 pending cron actions
if ( $page > 15 ) {
do_action( 'a8c_cron_control_stopped_runaway_cron_option_rebuild' );
// Loop through results and built output Core expects
foreach ( $jobs as $job ) {
// Alias event timestamp
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment