function device_geolocation_update_7001 in Smart IP 7
Same name and namespace in other branches
- 7.2 modules/device_geolocation/device_geolocation.install \device_geolocation_update_7001()
Convert variable 'device_geolocation_allowed_pages' from array to string.
File
- modules/
device_geolocation/ device_geolocation.install, line 31 - Installation callback for Device Geolocation.
Code
function device_geolocation_update_7001() {
variable_set('device_geolocation_allowed_pages', implode("\n", variable_get('device_geolocation_allowed_pages', array())));
}