You are here

function redirect_update_4 in Redirect 7.2

Same name and namespace in other branches
  1. 7 redirect.install \redirect_update_4()

Change empty redirect types to 'redirect'.

File

./redirect.install, line 196
Install, update and uninstall functions for the redirect module.

Code

function redirect_update_4() {
  db_update('redirect')
    ->fields(array(
    'type' => 'redirect',
  ))
    ->condition('type', '')
    ->execute();
}