You are here

function mailhandler_update_6001 in Mailhandler 6

Same name and namespace in other branches
  1. 7 mailhandler.install \mailhandler_update_6001()

Add authentication method field to module schema.

Update introduced for release 6.1.9, when authentication is set as pluggable system in the module.

Issue: http://drupal.org/node/11962 : Virtual Email Passphrase Authentication Commit: http://drupal.org/cvs?commit=322700

File

./mailhandler.install, line 188
Install, uninstall, schema and update functions for Mailhandler module.

Code

function mailhandler_update_6001() {
  $ret = array();
  db_add_field($ret, 'mailhandler', 'authentication', array(
    'type' => 'varchar',
    'not null' => TRUE,
    'length' => '255',
    'default' => 'mailhandler_default',
  ));
  return $ret;
}