You are here

function maxlength_install in Maxlength 7

Same name and namespace in other branches
  1. 6.2 maxlength.install \maxlength_install()
  2. 7.2 maxlength.install \maxlength_install()

Implementation of hook_istall().

File

./maxlength.install, line 10
Install file for the maxlenght module

Code

function maxlength_install() {
  db_update('system')
    ->fields(array(
    'weight' => 1,
  ))
    ->condition('name', 'maxlength')
    ->execute();
}