You are here

function amazon_update_6007 in Amazon Product Advertisement API 6

File

./amazon.install, line 245

Code

function amazon_update_6007() {
  $ret = array();
  if (variable_get('amazon_associate_setting', 'associate') == 'author') {
    variable_del('amazon_associate_setting');

    // go with the default.
    $ret[] = array(
      'success' => TRUE,
      'query' => t('Replaced "author" Amazon associate setting with the default.'),
    );
  }
  return $ret;
}