diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-09-30 11:09:22 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-09-30 11:09:22 +0000 |
commit | a6379d2ee80392f31691d3d8cdf8558fd34f8348 (patch) | |
tree | 643a51f40946e418ad51575c56d51a372aa1fe9f /modules/user.module | |
parent | 8caf16cde4cebcea3534e9ff3803bef2092374b2 (diff) | |
download | brdo-a6379d2ee80392f31691d3d8cdf8558fd34f8348.tar.gz brdo-a6379d2ee80392f31691d3d8cdf8558fd34f8348.tar.bz2 |
- replaced all 'header("Location: foo")'s by a call to 'drupal_goto()'
which will append the session ID to the uri 'foo' when PHP is compiled
with '--enable-transe-sid'.
Diffstat (limited to 'modules/user.module')
-rw-r--r-- | modules/user.module | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/user.module b/modules/user.module index 1ee6599b0..5e976b61e 100644 --- a/modules/user.module +++ b/modules/user.module @@ -482,7 +482,7 @@ function user_login($edit = array()) { $url = $HTTP_REFERER ? $HTTP_REFERER : "module.php?mod=user&op=view"; - header("Location: $url"); + drupal_goto($url); } else { @@ -529,7 +529,7 @@ function user_logout() { ** Redirect the user to his personal information page: */ - header("Location: index.php"); + drupal_goto("index.php"); } } @@ -688,7 +688,7 @@ function user_edit($edit = array()) { ** Redirect the user to his personal information page: */ - header("Location: module.php?mod=user&op=view"); + drupal_goto("module.php?mod=user&op=view"); } } |