Added back the WC_Geolocation's get_local_database_path method since it was publicly used
This commit is contained in:
parent
3e597e6f68
commit
98119047bf
|
@ -230,6 +230,16 @@ class WC_Geolocation {
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Path to our local db.
|
||||
*
|
||||
* @param string $deprecated Deprecated since 3.4.0.
|
||||
* @return string
|
||||
*/
|
||||
public static function get_local_database_path( $deprecated = '2' ) {
|
||||
return WC_MaxMind_Geolocation_Database::get_database_path();
|
||||
}
|
||||
|
||||
/**
|
||||
* Update geoip database.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue