You are here

function support_update_6008 in Support Ticketing System 7

Same name and namespace in other branches
  1. 6 support.install \support_update_6008()

Remove unnecessary 'active' field from {support_assigned} table.

1 call to support_update_6008()
support_update_7003 in ./support.install
Ensure support_update_6008 has run: Remove unnecessary 'active' field from {support_assigned} table.

File

./support.install, line 481
Install, update and uninstall functions for the ._support module.

Code

function support_update_6008() {

  // Remove inactive entries from table.
  db_delete('support_assigned')
    ->condition('active', 0)
    ->execute();

  // Remove unnecessary status field.
  db_drop_field('support_assigned', 'active');
}