function redirect_update_4 in Redirect 7
Same name and namespace in other branches
- 7.2 redirect.install \redirect_update_4()
Change empty redirect types to 'redirect'.
File
- ./
redirect.install, line 198 - Install, update and uninstall functions for the redirect module.
Code
function redirect_update_4() {
db_update('redirect')
->fields(array(
'type' => 'redirect',
))
->condition('type', '')
->execute();
}