summaryrefslogtreecommitdiff
path: root/ex_imp.c
diff options
context:
space:
mode:
authorBen Fuhrmannek2015-01-22 12:19:09 +0100
committerBen Fuhrmannek2015-01-22 12:19:09 +0100
commit432e8f9ab8a3029b16e03676aa643f3788faf14c (patch)
tree27e99ec0af706b4820c4d9472a01dff4c4bea5eb /ex_imp.c
parent8affcacdbeba5fd95e1b26a6bcfc9c3030a1d893 (diff)
removed #ifdef ZEND_ENGINE_2 as it is always defined anyway
Diffstat (limited to 'ex_imp.c')
-rw-r--r--ex_imp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ex_imp.c b/ex_imp.c
index 1c01191..a46eb43 100644
--- a/ex_imp.c
+++ b/ex_imp.c
@@ -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