You are here

function tokenauth_install in Token authentication 7

Same name and namespace in other branches
  1. 5 tokenauth.install \tokenauth_install()
  2. 6.2 tokenauth.install \tokenauth_install()
  3. 6 tokenauth.install \tokenauth_install()

Implements hook_install().

File

./tokenauth.install, line 38
Installation routines for the Token Authentication module.

Code

function tokenauth_install() {

  // Tokenauth must authenticate the user before other modules can deny anonymous access.
  db_query("UPDATE {system} SET weight='-15' WHERE name='tokenauth'");
}