[BUGFIX] Better performance of DatabaseConnection->getDateTimeFormats 27/35427/2
authorStephan Großberndt <stephan@grossberndt.de>
Tue, 9 Dec 2014 14:42:19 +0000 (15:42 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sun, 14 Dec 2014 16:37:40 +0000 (17:37 +0100)
commit2523f3c69fd8231642b45b4780142c36571892a1
tree0dc95cea5c6fbd19ad7933791def80b1483ea147
parent2607711179ccc232eeda705f446317ec1e1d8cd3
[BUGFIX] Better performance of DatabaseConnection->getDateTimeFormats

Currently each call to DatabaseConnection->getDateTimeFormats creates a
new array with default dateTimeFormats. Put this information into a
static class member and return this instead.

Resolves: #63669
Releases: master, 6.2
Change-Id: I457ad6b68fb6919782f349550e9efd07143d0de7
Reviewed-on: http://review.typo3.org/35427
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/core/Classes/Database/DatabaseConnection.php