You are here

function simplenews_update_6002 in Simplenews 6

Same name and namespace in other branches
  1. 6.2 simplenews.install \simplenews_update_6002()

Addition of nid to simplenews_mail_cache to be able to check the newsletter send status.

File

./simplenews.install, line 446
Simplenews installation.

Code

function simplenews_update_6002() {
  $ret = array();
  db_add_field($ret, 'simplenews_mail_cache', 'nid', array(
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
  ));
  variable_del('simplenews_time');
  return $ret;
}