function tokenauth_install in Token authentication 6.2
Same name and namespace in other branches
- 5 tokenauth.install \tokenauth_install()
- 6 tokenauth.install \tokenauth_install()
- 7 tokenauth.install \tokenauth_install()
Implementation of hook_install().
File
- ./
tokenauth.install, line 39 - Install, update, and uninstall functions for tokenauth.
Code
function tokenauth_install() {
drupal_install_schema('tokenauth');
// Tokenauth must authenticate the user before other modules can deny anonymous access.
db_query("UPDATE {system} SET weight='-15' WHERE name='tokenauth'");
}