Replace deprecated ip2country_get_country()

Created on 23 May 2020, about 4 years ago
Updated 4 October 2023, 9 months ago

This should be done twice:

-          $country_code = ip2country_get_country($ip);
+          $country_code = \Drupal::service('ip2country.lookup')->getCountry($ip);
📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇳🇱Netherlands Sutharsan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024