Issue Task Closed

#78854Remove obsolete CLI check from reports config

Alexander Stehlik 12/01/16, 15:29 updated 10/17/17, 23:24

Description

The condition that checks for CLI mode in typo3/sysext/install/ext_tables.php is invalid:

// Only add the environment status report if not in CLI mode
if (!(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_CLI)) {
    $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['system'][] = \TYPO3\CMS\Install\Report\EnvironmentStatusReport::class;
}

The EnvironmentStatusReport is active for CLI only at the moment.

The check can be removed because the problematic checks were already fixed in #78786.

Reviews 2