You are here

function email_verify_update_7202 in Email Verify 7.2

Sets the weight of Email Verify to a high number to process all forms.

File

./email_verify.install, line 103
Install, update and uninstall functions for this module.

Code

function email_verify_update_7202() {

  // Set the weight of this module as high as reasonable, so that its form_alter
  // hook gets called after other modules, because sometimes, the hook for this
  // module is called before the data is available to it.
  db_update('system')
    ->fields(array(
    'weight' => 1000,
  ))
    ->condition('name', 'email_verify', '=')
    ->execute();
}