You are here

function addthis_install in AddThis 6.3

Implements hook_install().

File

./addthis.install, line 12
AddThis module installation/update hooks.

Code

function addthis_install() {

  // Module needs to load after Google Analytics (weight = 0) so we can execute
  // scripts after the tracker object is loaded.
  db_query('UPDATE {system} SET weight=1 WHERE type="module" AND name="addthis"');
}