Changeset 4523 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/jobs/class-manager.php
- Timestamp:
- 12/13/2016 10:06:19 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/jobs/class-manager.php
r4520 r4523 47 47 */ 48 48 public static function get_scheduled_time( $hook, $when = 'last' ) { 49 50 // Flush the Cavalcade jobs cache, we need fresh data from the database 51 wp_cache_delete( 'jobs', 'cavalcade-jobs' ); 52 49 53 $crons = _get_cron_array(); 50 54 if ( empty( $crons ) ) { … … 86 90 public static function reschedule_event( $hook, $new_timestamp = false, $old_timestamp = false ) { 87 91 $new_timestatmp = $new_timestamp ?: time(); 92 93 // Flush the Cavalcade jobs cache, we need fresh data from the database 94 wp_cache_delete( 'jobs', 'cavalcade-jobs' ); 88 95 89 96 $crons = _get_cron_array();
Note: See TracChangeset
for help on using the changeset viewer.