function smart_ip_update_6001 in Smart IP 6
Same name and namespace in other branches
- 6.2 smart_ip.install \smart_ip_update_6001()
Added smart_ip_source variable.
File
- ./
smart_ip.install, line 164
Code
function smart_ip_update_6001() {
if (variable_get('smart_ip_use_ipinfodb_service', FALSE)) {
variable_set('smart_ip_source', 'ipinfodb_service');
}
elseif (variable_get('smart_ip_auto_update', FALSE)) {
variable_set('smart_ip_source', 'local_db');
}
variable_del('smart_ip_use_ipinfodb_service');
}