You are here

function mobile_tools_update_7304 in Mobile Tools 7.3

Implements hook_update_N().

Adds field to store device detection methods.

File

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

Code

function mobile_tools_update_7304(&$sandbox) {
  $field = array(
    'type' => 'blob',
    'description' => 'Type of device detection to use',
    'serialize' => TRUE,
  );
  db_add_field('mobile_tools_device_group', 'detection', $field);
}