You are here

function password_policy_update_6103 in Password Policy 6

Reset module weight to 0.

A custom module weight is no longer needed to support phpass.

File

./password_policy.install, line 357
File module installation and upgrade code.

Code

function password_policy_update_6103() {
  $ret = array();
  $ret[] = update_sql("UPDATE {system} SET weight = 0 WHERE type = 'module' AND name = 'password_policy'");
  return $ret;
}