A minor thing, but if a site has a different front page other than '/node', a user is still redirected to '/node' after deleting a node. Attached diff (apologies for it not being a correct patch - still ironing out my new Linux setup) fixes this by checking the site_frontpage variable, and falling back to 'node' if its not set.
| Comment | File | Size | Author |
|---|---|---|---|
| node_with_proper_redirect.diff | 377 bytes | pfaocle |
Comments
Comment #1
dries commentedIf you want to redirect the user to the front page you can simply use
drupal_goto()(no arguments).I made that change and committed it to HEAD. Please test and mark this fixed.
Comment #2
pfaocleCheers.
Comment #3
raema commented