You are here

function masquerade_update_6004 in Masquerade 7

Same name and namespace in other branches
  1. 6 masquerade.install \masquerade_update_6004()

Set the weight of the masquerade module to -10, but only if it hasn't previously been changed.

File

./masquerade.install, line 130
masquerade.install

Code

function masquerade_update_6004() {
  db_update('system')
    ->fields(array(
    'weight' => -10,
  ))
    ->condition('name', 'masquerade')
    ->execute();
}