You are here

function _set_system_weight in Bibliography Module 7.2

Same name and namespace in other branches
  1. 6 biblio.install \_set_system_weight()
  2. 7 biblio.install \_set_system_weight()
2 calls to _set_system_weight()
biblio_enable in ./biblio.install
biblio_install in ./biblio.install
Implements hook_install().

File

./biblio.install, line 167

Code

function _set_system_weight() {
  db_update('system')
    ->fields(array(
    'weight' => 9,
  ))
    ->condition('name', 'biblio')
    ->execute();
  return;

  //return update_sql("UPDATE {system} SET weight = 9 WHERE name = 'biblio'");
}