You are here

function fast_404_enable in Fast 404 7

Same name and namespace in other branches
  1. 6 fast_404.install \fast_404_enable()

Implements hook_enable().

File

./fast_404.install, line 6

Code

function fast_404_enable() {
  db_update('system')
    ->fields(array(
    'bootstrap' => 1,
    'weight' => -1000,
  ))
    ->condition('name', 'fast_404')
    ->condition('type', 'module')
    ->execute();
}