You are here

function fe_block_install in Features Extra 6

Implementation of hook_install().

File

./fe_block.install, line 6

Code

function fe_block_install() {
  drupal_install_schema('fe_block');
  $weight = db_result(db_query("SELECT weight FROM {system} WHERE name = 'block'"));
  db_query("UPDATE {system} SET weight = %d WHERE name = 'fe_block'", $weight + 1);
}