function tokenauth_update_6107 in Token authentication 6.2
Same name and namespace in other branches
- 6 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;
}