Issue Bug Closed

#25287error when using t3lib_TCEmain->clear_cacheCmd in CLI mode

Daniel Schöne 03/09/11, 10:55 updated 01/08/12, 20:32

Description

it should be checked that TYPO3 is not running in CLI mode before writing to log

if (!defined(‘TYPO3_cliMode’)) {
$this->BE_USER->writelog(3, 1, 0, 0, ‘User %s has cleared the cache (cacheCmd=%s)’, array($this->BE_USER->user[‘username’], $cacheCmd));
}

related to http://bugs.typo3.org/bug_view_page.php?bug_id=16832
(issue imported from #M17900)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.