You are here

function file_aliases_install in File Aliases 7

Same name and namespace in other branches
  1. 5 file_aliases.install \file_aliases_install()
  2. 6 file_aliases.install \file_aliases_install()

Implements hook_install().

File

./file_aliases.install, line 11
Contains installation functions for the File Aliases module.

Code

function file_aliases_install() {

  // Adjust module weight.
  db_update('system')
    ->fields(array(
    'weight' => 1,
  ))
    ->condition('name', 'file_aliases')
    ->execute();
}