WordPress.org

Make WordPress Core

Changeset 16603


Ignore:
Timestamp:
11/29/2010 05:16:24 AM (7 years ago)
Author:
nacin
Message:

Kill check_server_timer(). fixes #15602.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/cron.php

    r15837 r16603  
    197197
    198198    if ( defined('DOING_CRON') || isset($_GET['doing_wp_cron']) )
    199         return;
    200 
    201     /*
    202      * do not even start the cron if local server timer has drifted
    203      * such as due to power failure, or misconfiguration
    204      */
    205     $timer_accurate = check_server_timer( $local_time );
    206     if ( !$timer_accurate )
    207199        return;
    208200
     
    412404    return $new_cron;
    413405}
    414 
    415 // stub for checking server timer accuracy, using outside standard time sources
    416 function check_server_timer( $local_time ) {
    417     return true;
    418 }
Note: See TracChangeset for help on using the changeset viewer.