Skip to content

Commit 8104df0

Browse files
committed
Remove bogus ini entry
1 parent 3bd0f95 commit 8104df0

File tree

3 files changed

+0
-18
lines changed

3 files changed

+0
-18
lines changed

ext/pdo/pdo.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,6 @@ zend_module_entry pdo_module_entry = {
162162
ZEND_GET_MODULE(pdo)
163163
#endif
164164

165-
/* {{{ PHP_INI */
166-
PHP_INI_BEGIN()
167-
STD_PHP_INI_ENTRY("pdo.global_value", "42", PHP_INI_ALL, OnUpdateLong, global_value, zend_pdo_globals, pdo_globals)
168-
PHP_INI_END()
169-
/* }}} */
170-
171165
/* {{{ PHP_GINIT_FUNCTION */
172166
static PHP_GINIT_FUNCTION(pdo)
173167
{
@@ -326,8 +320,6 @@ PHP_MINIT_FUNCTION(pdo)
326320

327321
spl_ce_RuntimeException = NULL;
328322

329-
REGISTER_INI_ENTRIES();
330-
331323
if (FAILURE == pdo_sqlstate_init_error_table()) {
332324
return FAILURE;
333325
}
@@ -353,7 +345,6 @@ PHP_MINIT_FUNCTION(pdo)
353345
/* {{{ PHP_MSHUTDOWN_FUNCTION */
354346
PHP_MSHUTDOWN_FUNCTION(pdo)
355347
{
356-
UNREGISTER_INI_ENTRIES();
357348
zend_hash_destroy(&pdo_driver_hash);
358349
pdo_sqlstate_fini_error_table();
359350
return SUCCESS;
@@ -388,9 +379,6 @@ PHP_MINFO_FUNCTION(pdo)
388379

389380
php_info_print_table_end();
390381

391-
#if 0
392-
DISPLAY_INI_ENTRIES();
393-
#endif
394382
}
395383
/* }}} */
396384

php.ini-dist

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -641,9 +641,6 @@ default_socket_timeout = 60
641641
;iconv.internal_encoding = ISO-8859-1
642642
;iconv.output_encoding = ISO-8859-1
643643

644-
[pdo]
645-
;pdo.global_value = 41
646-
647644
[sqlite]
648645
;sqlite.assoc_case = 0
649646

php.ini-recommended

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -686,9 +686,6 @@ default_socket_timeout = 60
686686
;iconv.internal_encoding = ISO-8859-1
687687
;iconv.output_encoding = ISO-8859-1
688688

689-
[pdo]
690-
;pdo.global_value = 41
691-
692689
[sqlite]
693690
;sqlite.assoc_case = 0
694691

0 commit comments

Comments
 (0)