WordPress.org

Making WordPress.org

Changeset 5538


Ignore:
Timestamp:
06/05/2017 10:52:04 PM (4 years ago)
Author:
iandunn
Message:

Events: Remove unused get_valid_country_codes()

See #2823
Props dd32

File:
1 edited

Legend:

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

    r5537 r5538  
    677677    $location_word_count = str_word_count( $location_name );
    678678    $location_name_parts = explode( ' ', $location_name );
    679     $valid_country_codes = get_valid_country_codes();
    680679
    681680    /*
     
    712711}
    713712
    714 /**
    715  * Get a list of valid country codes
    716  *
    717  * @return array
    718  */
    719 function get_valid_country_codes() {
    720     global $wpdb;
    721 
    722     return $wpdb->get_col( "SELECT DISTINCT country FROM geoname" );
    723 }
    724713
    725714/**
Note: See TracChangeset for help on using the changeset viewer.