Replace deprecated ip2country_get_country()

Created on 23 May 2020, almost 5 years ago
Updated 4 October 2023, over 1 year 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.71.5 2024