Actions
Bug #16831
closedDisable clearing the cache in Draft workspace
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2007-01-05
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Functions clear_cache and clear_cacheCmd in t3lib/class.t3lib_tcemain.php shouldn't clear any page cache when working in Draft workspace. Current implementation clears the cache when working in Draft workspace.
There should be added something like:
if($GLOBALS['BE_USER']->workspace<0 && empty($_params->cmdmap))
{
// Don't clear the cache
}
The other part of IF is necessary to allow clearing the cache when publishing from Draft to Live workspace.
(issue imported from #M4739)
Actions