[PECL-CVS] [pecl-database-pdo_ibm] pdo-class-8.5: Remove PHP 4 era crud

[email protected] (Calvin Buckley)
Newsgroups php.pecl.cvs
Message-ID <[email protected]>
Author: Calvin Buckley (NattyNarwhal)
Date: 2025-09-10T14:13:18-03:00

Commit: https://github.com/php/pecl-database-pdo_ibm/commit/4d4167aa5e7f4f06a03326778ee19145f81c8d4f
Raw diff: https://github.com/php/pecl-database-pdo_ibm/commit/4d4167aa5e7f4f06a03326778ee19145f81c8d4f.diff

Remove PHP 4 era crud

Changed paths:
  M  pdo_ibm.c


Diff:

diff --git a/pdo_ibm.c b/pdo_ibm.c
index 5044a73..a4236d7 100644
--- a/pdo_ibm.c
+++ b/pdo_ibm.c
@@ -47,32 +47,26 @@ extern pdo_driver_t pdo_ibm_driver;	/* the registration table */
 
 /* {{{ pdo_ibm_deps
  */
-#if ZEND_MODULE_API_NO >= 20041225
 static zend_module_dep pdo_ibm_deps[] = {
 	ZEND_MOD_REQUIRED("pdo")
 	{NULL, NULL, NULL}
 };
-#endif
 /* }}} */
 
 /* {{{ pdo_ibm_module_entry
  */
 zend_module_entry pdo_ibm_module_entry =
 {
-#if ZEND_MODULE_API_NO >= 20041225
 	STANDARD_MODULE_HEADER_EX, NULL,
 	pdo_ibm_deps,
-#else
-	STANDARD_MODULE_HEADER,
-#endif
 	"pdo_ibm",
 	NULL,
 	PHP_MINIT(pdo_ibm),
 	PHP_MSHUTDOWN(pdo_ibm),
-	PHP_RINIT(pdo_ibm),        /* Replace with NULL if there's nothing to do at request start */
-	PHP_RSHUTDOWN(pdo_ibm),    /* Replace with NULL if there's nothing to do at request end */
+	PHP_RINIT(pdo_ibm),
+	PHP_RSHUTDOWN(pdo_ibm),
 	PHP_MINFO(pdo_ibm),
-	PDO_IBM_VERSION,   /* Replace with version number for your extension */
+	PDO_IBM_VERSION,
 	STANDARD_MODULE_PROPERTIES
 };
 /* }}} */
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.