diff options
author | Zeev Suraski <zeev@php.net> | 2001-07-28 11:36:37 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-07-28 11:36:37 +0000 |
commit | d87cc976e1156b839fc6d4aa6b473a126802b8e3 (patch) | |
tree | 8acb068dd7458e1c8df3a7d8ecb87d065990fdb1 /ext/pfpro/pfpro.c | |
parent | b4f3b9d3ce9f55cf040fb5aa8f201c64646cab43 (diff) | |
download | php-git-d87cc976e1156b839fc6d4aa6b473a126802b8e3.tar.gz |
Redesigned thread safety mechanism - nua nua
Diffstat (limited to 'ext/pfpro/pfpro.c')
-rw-r--r-- | ext/pfpro/pfpro.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/ext/pfpro/pfpro.c b/ext/pfpro/pfpro.c index b861af0a17..e477ca92f4 100644 --- a/ext/pfpro/pfpro.c +++ b/ext/pfpro/pfpro.c @@ -100,8 +100,6 @@ PHP_MSHUTDOWN_FUNCTION(pfpro) PHP_RINIT_FUNCTION(pfpro) { - PFPROLS_FETCH(); - PFPROG(initialized) = 0; return SUCCESS; @@ -109,7 +107,7 @@ PHP_RINIT_FUNCTION(pfpro) PHP_RSHUTDOWN_FUNCTION(pfpro) { - PFPROLS_FETCH(); + TSRMLS_FETCH(); if (PFPROG(initialized) == 1) { pfproCleanup(); @@ -147,8 +145,6 @@ PHP_FUNCTION(pfpro_version) Initializes the Payflow Pro library */ PHP_FUNCTION(pfpro_init) { - PFPROLS_FETCH(); - if (ZEND_NUM_ARGS() != 0) { WRONG_PARAM_COUNT; } @@ -165,8 +161,6 @@ PHP_FUNCTION(pfpro_init) Shuts down the Payflow Pro library */ PHP_FUNCTION(pfpro_cleanup) { - PFPROLS_FETCH(); - if (ZEND_NUM_ARGS() != 0) { WRONG_PARAM_COUNT; } @@ -203,8 +197,6 @@ PHP_FUNCTION(pfpro_process_raw) char *response; #endif - PFPROLS_FETCH(); - if (ZEND_NUM_ARGS() < 1 || ZEND_NUM_ARGS() > 8) { WRONG_PARAM_COUNT; } @@ -333,8 +325,6 @@ PHP_FUNCTION(pfpro_process) *sp1, *sp2, *pdelim1="&", *pdelim2="="; - PFPROLS_FETCH(); - if (ZEND_NUM_ARGS() < 1 || ZEND_NUM_ARGS() > 8) { WRONG_PARAM_COUNT; } |