Actions
Bug #24786
closedFormprotection persistToken method is called too often, causing unnecessary DB-load
Start date:
2011-01-25
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Problem:
To asure that in all cases the tokens get persisted, I added the persistToken call way too often
Solution:
Remove most of the calls and add one in template->endPage instead, since this is a central exit point for all modules.
Thanks for Steffen Kamper for the idea.
Note: A few places are left, where the template object is not used, thus the persist method needs to be called there.
(issue imported from #M17284)
Files
Actions