You are here

function defaultcontent_install in Default Content 7

Same name and namespace in other branches
  1. 8 defaultcontent.install \defaultcontent_install()
  2. 7.2 defaultcontent.install \defaultcontent_install()

Implements hook_install().

File

./defaultcontent.install, line 12
Installation file for Default Content module

Code

function defaultcontent_install() {

  //drupal_install_schema('defaultcontent');
  db_update('system')
    ->fields(array(
    'weight' => 1,
  ))
    ->condition('type', 'module')
    ->condition('name', 'defaultcontent_install')
    ->execute();
}