diff --git a/Zend/zend_API.c b/Zend/zend_API.c index ec7ba558de5..ea58f986101 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -1373,17 +1373,6 @@ ZEND_API zend_class_entry *zend_register_internal_class(zend_class_entry *orig_c } -ZEND_API zend_module_entry *zend_get_module(int module_number) -{ - zend_module_entry *module; - - if (zend_hash_index_find(&module_registry, module_number, (void **) &module)==SUCCESS) { - return module; - } else { - return NULL; - } -} - ZEND_API int zend_set_hash_symbol(zval *symbol, char *name, int name_length, zend_bool is_ref, int num_symbol_tables, ...) { diff --git a/Zend/zend_API.h b/Zend/zend_API.h index 9cc302e3b01..445d8552292 100644 --- a/Zend/zend_API.h +++ b/Zend/zend_API.h @@ -135,7 +135,6 @@ ZEND_API int zend_register_module(zend_module_entry *module_entry); ZEND_API zend_class_entry *zend_register_internal_class(zend_class_entry *class_entry TSRMLS_DC); ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce, char *parent_name TSRMLS_DC); -ZEND_API zend_module_entry *zend_get_module(int module_number); ZEND_API int zend_disable_function(char *function_name, uint function_name_length TSRMLS_DC); ZEND_API void zend_wrong_param_count(TSRMLS_D);