You are here

function mobile_tools_update_7305 in Mobile Tools 7.3

Implements hook_update_N().

Adds field to store device detection method settings.

File

./mobile_tools.install, line 252
Instalation of the mobile_tools module

Code

function mobile_tools_update_7305(&$sandbox) {
  $field = array(
    'type' => 'blob',
    'description' => 'Settings for enabled detection devices',
    'serialize' => TRUE,
  );
  db_add_field('mobile_tools_device_group', 'detection_settings', $field);
}