mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
ext/session: remove unused progress parameter in early_find_sid_in()
This commit is contained in:
@@ -3047,7 +3047,7 @@ static PHP_MINFO_FUNCTION(session)
|
||||
* Upload hook handling *
|
||||
************************ */
|
||||
|
||||
static bool early_find_sid_in(zval *dest, int where, php_session_rfc1867_progress *progress)
|
||||
static bool early_find_sid_in(zval *dest, int where)
|
||||
{
|
||||
zval *potential_session_id;
|
||||
|
||||
@@ -3070,7 +3070,7 @@ static void php_session_rfc1867_early_find_sid(php_session_rfc1867_progress *pro
|
||||
|
||||
if (PS(use_cookies)) {
|
||||
sapi_module.treat_data(PARSE_COOKIE, NULL, NULL);
|
||||
if (early_find_sid_in(&progress->sid, TRACK_VARS_COOKIE, progress)) {
|
||||
if (early_find_sid_in(&progress->sid, TRACK_VARS_COOKIE)) {
|
||||
progress->apply_trans_sid = false;
|
||||
return;
|
||||
}
|
||||
@@ -3079,7 +3079,7 @@ static void php_session_rfc1867_early_find_sid(php_session_rfc1867_progress *pro
|
||||
return;
|
||||
}
|
||||
sapi_module.treat_data(PARSE_GET, NULL, NULL);
|
||||
early_find_sid_in(&progress->sid, TRACK_VARS_GET, progress);
|
||||
early_find_sid_in(&progress->sid, TRACK_VARS_GET);
|
||||
}
|
||||
|
||||
static bool php_check_cancel_upload(php_session_rfc1867_progress *progress)
|
||||
|
||||
Reference in New Issue
Block a user