function simplenews_update_7002 in Simplenews 7
Same name and namespace in other branches
- 7.2 simplenews.install \simplenews_update_7002()
Drop support for node revisioning.
File
- ./
simplenews.install, line 761 - Install, update and uninstall functions for the simplenews module
Code
function simplenews_update_7002() {
if (db_field_exists('simplenews_newsletter', 'vid')) {
db_drop_field('simplenews_newsletter', 'vid');
}
if (db_field_exists('simplenews_mail_spool', 'vid')) {
db_drop_field('simplenews_mail_spool', 'vid');
}
}