function bakery_update_6001 in Bakery Single Sign-On System 6
Same name and namespace in other branches
- 6.2 bakery.install \bakery_update_6001()
Implementation of hook_update_N().
File
- ./
bakery.install, line 6
Code
function bakery_update_6001() {
$ret = array();
if (module_exists('path')) {
db_query("DELETE FROM {url_alias} WHERE source = 'bakery' AND dst IN ('user/login', 'user/register')");
}
return $ret;
}