You are here

function protected_node_install in Protected Node 6

Same name and namespace in other branches
  1. 5 protected_node.install \protected_node_install()
  2. 7 protected_node.install \protected_node_install()
  3. 1.0.x protected_node.install \protected_node_install()

Implementation of hook_install().

File

./protected_node.install, line 151

Code

function protected_node_install() {
  drupal_install_schema('protected_node');
  db_query("UPDATE {system} SET weight = 80 WHERE name = 'protected_node' AND type = 'module'");
}