You are here

function simplenews_update_7007 in Simplenews 7.2

Same name and namespace in other branches
  1. 7 simplenews.install \simplenews_update_7007()

Allow longer from_name field values.

File

./simplenews.install, line 753
Install, update and uninstall functions for the simplenews module

Code

function simplenews_update_7007() {
  db_change_field('simplenews_category', 'from_name', 'from_name', array(
    'type' => 'varchar',
    'length' => 128,
    'not null' => TRUE,
    'default' => '',
    'description' => 'Sender name for newsletter emails.',
  ));
}