You are here

function device_geolocation_update_7001 in Smart IP 7.2

Same name and namespace in other branches
  1. 7 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 30
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())));
}