You are here

function tokenauth_update_6107 in Token authentication 6

Same name and namespace in other branches
  1. 6.2 tokenauth.install \tokenauth_update_6107()

Make sure tokenauth has a low module weight.

File

./tokenauth.install, line 80
Install, update, and uninstall functions for tokenauth.

Code

function tokenauth_update_6107() {
  $ret = array();

  // Make sure existing tokenauth installations operate at the proper weight.
  $ret[] = update_sql("UPDATE {system} SET weight='-15' WHERE name='tokenauth'");
  return $ret;
}