You are here

function smart_ip_update_7005 in Smart IP 7.2

Move content of device_geolocation_allowed_pages variable to smart_ip_allowed_pages variable

File

./smart_ip.install, line 229
Installation callback for Smart IP.

Code

function smart_ip_update_7005() {
  $device_geolocation_allowed_pages = variable_get('device_geolocation_allowed_pages', '');
  if (!empty($device_geolocation_allowed_pages)) {
    variable_set('smart_ip_allowed_pages', $device_geolocation_allowed_pages);
  }
  variable_del('device_geolocation_allowed_pages');
}