diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-10-06 08:51:05 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-10-06 08:51:05 +0000 |
commit | eafcfa1564746326207b523a65af9b5c984570ca (patch) | |
tree | 51e33fe52de503c5f771b453cf5e07286e900376 /includes/common.inc | |
parent | 1a98fce9c41dea67b3f7ae5732d704e17134ff7d (diff) | |
download | brdo-eafcfa1564746326207b523a65af9b5c984570ca.tar.gz brdo-eafcfa1564746326207b523a65af9b5c984570ca.tar.bz2 |
- Patch #4109: some URLs get ?PHPSESSID added to them.
Diffstat (limited to 'includes/common.inc')
-rw-r--r-- | includes/common.inc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/includes/common.inc b/includes/common.inc index 5911933dd..eacb23a14 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -241,17 +241,6 @@ function drupal_goto($path = '', $query = NULL, $fragment = NULL) { $url = url($path, $query, $fragment, TRUE); - if (ini_get('session.use_trans_sid') && session_id() && !strstr($url, session_id())) { - $sid = session_name() . '=' . session_id(); - - if (strstr($url, '?') && !strstr($url, $sid)) { - $url = $url .'&'. $sid; - } - else { - $url = $url .'?'. $sid; - } - } - // Before the redirect, allow modules to react to the end of the page request. module_invoke_all('exit', $url); |