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