You are here

function fe_block_update_6011 in Features Extra 6

Implementation of hook_update_N(). Adjust module weight.

File

./fe_block.install, line 16

Code

function fe_block_update_6011() {
  $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);
}