Project

General

Profile

Feature #23315 » log_cache_clearing.patch

Administrator Admin, 2010-07-30 14:06

View differences:

typo3/sysext/belog/mod/locallang.xml (working copy)
<label index="action_2_8">New file</label>
<label index="action_2_9">Edit</label>
<label index="msg_2_9_1">File saved to '%s', bytes: %s, MD5: %s </label>
<label index="type_3">CACHE</label>
<label index="action_3_1">CLEAR CACHE</label>
<label index="type_254">SETTING</label>
<label index="action_254_1">Change</label>
<label index="type_255">LOGIN</label>
t3lib/class.t3lib_tcemain.php (working copy)
public function clear_cacheCmd($cacheCmd) {
global $TYPO3_CONF_VARS;
$this->BE_USER->writelog(3, 1, 0, 0, 'User %s has cleared the cache (cacheCmd=%s)', array($this->BE_USER->user['username'], $cacheCmd));
// Clear cache for either ALL pages or ALL tables!
switch($cacheCmd) {
case 'pages':
(1-1/2)