You are here

function extlink_install in External Links 7

Same name and namespace in other branches
  1. 8 extlink.install \extlink_install()
  2. 6 extlink.install \extlink_install()

Implements hook_install().

File

./extlink.install, line 11
Install file for External Links module.

Code

function extlink_install() {

  // Weight needs to be 1 for compatibility with SpamSpan.
  db_update('system')
    ->fields(array(
    'weight' => 1,
  ))
    ->condition('name', 'extlink', '=')
    ->execute();
}