function amazon_update_6004 in Amazon Product Advertisement API 6
Ugly hack for those updating from amazon module in D5.
File
- ./
amazon.install, line 202
Code
function amazon_update_6004() {
$ret = array();
if (!db_table_exists('amazon_item')) {
drupal_install_schema('amazon');
$ret[] = array(
'success' => TRUE,
'query' => 'Force-installed Amazon module tables after botched D5 upgrade.',
);
}
return $ret;
}