function simplenews_update_7005 in Simplenews 7.2
Same name and namespace in other branches
- 7 simplenews.install \simplenews_update_7005()
Add support for combined confirmation mails.
File
- ./
simplenews.install, line 725 - Install, update and uninstall functions for the simplenews module
Code
function simplenews_update_7005() {
db_add_field('simplenews_subscriber', 'changes', array(
'description' => 'Contains the requested subscription changes',
'type' => 'text',
'serialize' => TRUE,
));
// To keep existing installations consistent, disable combined confirmation
// mails.
variable_set('simplenews_use_combined', 'never');
}