You are here

function update_status_update_5200 in Update Status 5.2

Remove the old data in stale variables used by the 5.x-1.* releases.

File

./update_status.install, line 53

Code

function update_status_update_5200() {
  $ret = array();
  foreach (array(
    'update_status_last',
    'update_status',
  ) as $variable) {
    variable_del($variable);
    $ret[] = array(
      'success' => TRUE,
      'query' => "variable_del({$variable})",
    );
  }
  return $ret;
}