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.

CommentFileSizeAuthor
node_with_proper_redirect.diff377 bytespfaocle

Comments

dries’s picture

Status: Needs review » Active

If 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.

pfaocle’s picture

Status: Active » Fixed

Cheers.

raema’s picture

Status: Fixed » Closed (fixed)