function smart_ip_update_6004 in Smart IP 6.2
Move content of device_geolocation_allowed_pages variable to smart_ip_allowed_pages variable
File
- ./
smart_ip.install, line 216 - Installation callback for Smart IP.
Code
function smart_ip_update_6004() {
$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');
}