You are here

function subscriptions_update_6102 in Subscriptions 7

Same name and namespace in other branches
  1. 6 subscriptions.install \subscriptions_update_6102()

Database update function 6102: Remove the obsolete {subscriptions_user}.last_sent column if it's still there.

File

./subscriptions.install, line 222
Subscriptions module installation.

Code

function subscriptions_update_6102() {
  if (db_field_exists('subscriptions_user', 'last_sent')) {
    db_drop_field('subscriptions_user', 'last_sent');
  }
}