mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Refacto php_module_startup() (#8303)
It only ever uses at most 1 additional modules
This commit is contained in:
parent
09d313daac
commit
b5db594fd2
11 changed files with 18 additions and 51 deletions
|
@ -407,10 +407,7 @@ static void sapi_cli_send_header(sapi_header_struct *sapi_header, void *server_c
|
|||
|
||||
static int php_cli_startup(sapi_module_struct *sapi_module) /* {{{ */
|
||||
{
|
||||
if (php_module_startup(sapi_module, NULL, 0)==FAILURE) {
|
||||
return FAILURE;
|
||||
}
|
||||
return SUCCESS;
|
||||
return php_module_startup(sapi_module, NULL);
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue