You are here

function activity_update_4 in Activity 5.4

This column was added in update 3 but was short lived and no longer needed. Remove if it exists.

File

./activity.install, line 128
Install file for activity module.

Code

function activity_update_4() {
  $ret = array();
  switch ($GLOBALS['db_type']) {
    case 'mysql':
    case 'mysqli':
      $ret[] = update_sql("ALTER TABLE {activity} DROP COLUMN scope");
      break;
  }
  return $ret;
}