diff options
| author | Zeev Suraski <zeev@php.net> | 2001-07-30 06:18:13 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2001-07-30 06:18:13 +0000 |
| commit | 797a079a95585a07bc7f26a79e04521d3b370177 (patch) | |
| tree | 39e195dd61222e38b934b64d51d3ab37199a0ad3 /ext/session/session.c | |
| parent | e8ac55d03c31304b7a68e5b18c16338dff9a5eb5 (diff) | |
| download | php-git-797a079a95585a07bc7f26a79e04521d3b370177.tar.gz | |
More TSRMLS_FETCH work, and a bit of cleanup
Diffstat (limited to 'ext/session/session.c')
| -rw-r--r-- | ext/session/session.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ext/session/session.c b/ext/session/session.c index 72b66e7283..1212cefb2a 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -85,8 +85,6 @@ static const ps_serializer *_php_find_ps_serializer(char *name TSRMLS_DC); static PHP_INI_MH(OnUpdateSaveHandler) { - TSRMLS_FETCH(); - PS(mod) = _php_find_ps_module(new_value TSRMLS_CC); if(!PS(mod)) { php_error(E_ERROR,"Cannot find save handler %s",new_value); @@ -97,8 +95,6 @@ static PHP_INI_MH(OnUpdateSaveHandler) static PHP_INI_MH(OnUpdateSerializer) { - TSRMLS_FETCH(); - PS(serializer) = _php_find_ps_serializer(new_value TSRMLS_CC); if(!PS(serializer)) { php_error(E_ERROR,"Cannot find serialization handler %s",new_value); @@ -1404,8 +1400,6 @@ PHP_FUNCTION(session_write_close) PHP_RSHUTDOWN_FUNCTION(session) { - TSRMLS_FETCH(); - php_session_flush(TSRMLS_C); php_rshutdown_session_globals(TSRMLS_C); return SUCCESS; @@ -1436,7 +1430,6 @@ PHP_MSHUTDOWN_FUNCTION(session) PHP_MINFO_FUNCTION(session) { - php_info_print_table_start(); php_info_print_table_row(2, "Session Support", "enabled" ); php_info_print_table_end(); |
