You are here

search_restrict.install in Search Restrict 5

File

search_restrict.install
View source
<?php

/** 
 * Implementation of hook_install(). 
 */
function search_restrict_install() {

  // Set a low weight so the module is called before node module.
  db_query("UPDATE {system} SET weight = -10 WHERE name = 'search_restrict'");
}

/**
 * Implementation of hook_uninstall().
 */
function search_restrict_uninstall() {
  variable_del('search_restrict_content_type');
}

Functions

Namesort descending Description
search_restrict_install Implementation of hook_install().
search_restrict_uninstall Implementation of hook_uninstall().