You are here

function amazon_media_update_7002 in Amazon Product Advertisement API 7

Same name and namespace in other branches
  1. 7.2 amazon_media/amazon_media.install \amazon_media_update_7002()

Set the weight on amazon_media to be higher than amazon.

This allows amazon_media to override theme settings that amazon has done.

1 call to amazon_media_update_7002()
amazon_media_install in amazon_media/amazon_media.install
@file Install, update and uninstall functions for the amazon_media module.

File

amazon_media/amazon_media.install, line 72
Install, update and uninstall functions for the amazon_media module.

Code

function amazon_media_update_7002() {
  db_query("UPDATE {system} SET weight = 10 WHERE name = 'amazon_media'");
}