You are here

function twitter_block_update_7101 in Twitter Block 7

Change the length of the language field.

File

./twitter_block.install, line 103
Install, update and uninstall functions for the twitter_block module.

Code

function twitter_block_update_7101() {
  $new_field = array(
    'description' => 'Optional Twitter language filter.',
    'type' => 'varchar',
    'length' => 2,
  );
  db_change_field('twitter_block', 'lang', 'lang', $new_field);
  return t('Changed the length of the language field.');
}