You are here

function agreement_install in Agreement 6

Same name and namespace in other branches
  1. 8.2 agreement.install \agreement_install()
  2. 6.2 agreement.install \agreement_install()
  3. 7.2 agreement.install \agreement_install()
  4. 3.0.x agreement.install \agreement_install()

Implementation of hook_install().

File

./agreement.install, line 11
Install, update and uninstall functions for the Agreement module.

Code

function agreement_install() {
  drupal_install_schema('agreement');
  db_query("UPDATE {system} SET weight = 9999 WHERE name = 'agreement'");
}