You are here

function persistent_login_update_2 in Persistent Login 5

File

./persistent_login.install, line 70

Code

function persistent_login_update_2() {
  $ret = array();
  $ret[] = update_sql('DROP TABLE {persistent_login}');
  $ret[] = update_sql('DROP TABLE IF EXISTS {persistent_login_history}');
  foreach (persistent_login_create_table_sql() as $sql) {
    $ret[] = update_sql($sql);
  }
  return $ret;
}