summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sapi/apache/mod_php4.c1
-rw-r--r--sapi/apache/sapi_apache.c3
2 files changed, 1 insertions, 3 deletions
diff --git a/sapi/apache/mod_php4.c b/sapi/apache/mod_php4.c
index 52a65fd9c3..a8ca481291 100644
--- a/sapi/apache/mod_php4.c
+++ b/sapi/apache/mod_php4.c
@@ -326,7 +326,6 @@ static void php_apache_request_shutdown(void *dummy)
static int php_apache_sapi_activate(TSRMLS_D)
{
request_rec *r = (request_rec *) SG(server_context);
- TSRMLS_FETCH();
/*
* For the Apache module version, this bit of code registers a cleanup
diff --git a/sapi/apache/sapi_apache.c b/sapi/apache/sapi_apache.c
index 1d9e03c3eb..f67e4b35fb 100644
--- a/sapi/apache/sapi_apache.c
+++ b/sapi/apache/sapi_apache.c
@@ -60,10 +60,9 @@
/* {{{ apache_php_module_main
*/
-int apache_php_module_main(request_rec *r, int display_source_mode TSRMLS_DC TSRMLS_DC)
+int apache_php_module_main(request_rec *r, int display_source_mode TSRMLS_DC)
{
zend_file_handle file_handle;
- TSRMLS_FETCH();
if (php_request_startup(TSRMLS_C) == FAILURE) {
return FAILURE;