diff options
| author | Ben Fuhrmannek | 2015-01-22 12:19:09 +0100 |
|---|---|---|
| committer | Ben Fuhrmannek | 2015-01-22 12:19:09 +0100 |
| commit | 432e8f9ab8a3029b16e03676aa643f3788faf14c (patch) | |
| tree | 27e99ec0af706b4820c4d9472a01dff4c4bea5eb /ex_imp.c | |
| parent | 8affcacdbeba5fd95e1b26a6bcfc9c3030a1d893 (diff) | |
removed #ifdef ZEND_ENGINE_2 as it is always defined anyway
Diffstat (limited to 'ex_imp.c')
| -rw-r--r-- | ex_imp.c | 4 |
1 files changed, 0 insertions, 4 deletions
| @@ -263,11 +263,7 @@ void suhosin_hook_ex_imp(TSRMLS_D) | |||
| 263 | { | 263 | { |
| 264 | /* replace the extract and import_request_variables functions */ | 264 | /* replace the extract and import_request_variables functions */ |
| 265 | zend_hash_del(CG(function_table), "extract", sizeof("extract")); | 265 | zend_hash_del(CG(function_table), "extract", sizeof("extract")); |
| 266 | #ifndef ZEND_ENGINE_2 | ||
| 267 | zend_register_functions(suhosin_ex_imp_functions, NULL, MODULE_PERSISTENT TSRMLS_CC); | ||
| 268 | #else | ||
| 269 | zend_register_functions(NULL, suhosin_ex_imp_functions, NULL, MODULE_PERSISTENT TSRMLS_CC); | 266 | zend_register_functions(NULL, suhosin_ex_imp_functions, NULL, MODULE_PERSISTENT TSRMLS_CC); |
| 270 | #endif | ||
| 271 | } | 267 | } |
| 272 | 268 | ||
| 273 | 269 | ||
