WordPress.org

Making WordPress.org

Changeset 6291


Ignore:
Timestamp:
12/19/2017 07:48:48 PM (5 months ago)
Author:
obenland
Message:

Events: Remove unused globals.

Props adnan.limdi.
Fixes #3138.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/api.wordpress.org/public_html/events/1.0/index.php

    r6276 r6291  
    444444 */
    445445function get_location( $args = array() ) {
    446     global $cache_life, $cache_group;
    447 
    448446    $throttle_geonames = $throttle_ip2location = false;
    449447
     
    725723    $sql_values[] = gmdate( 'Y-m-d', time() - DAY_IN_SECONDS );
    726724
    727     // Limit 
     725    // Limit
    728726    if ( isset( $args['number'] ) ) {
    729727        $sql_limits   = 'LIMIT %d';
Note: See TracChangeset for help on using the changeset viewer.