MDL-41106 cache: several fixes for the session cache.
authorSam Hemelryk <sam@moodle.com>
Thu, 15 Aug 2013 23:22:15 +0000 (11:22 +1200)
committerSam Hemelryk <sam@moodle.com>
Thu, 15 Aug 2013 23:27:55 +0000 (11:27 +1200)
commit2e9d5a534e8e3045923055baa1609d66cec0affe
tree6c0508d1553d7ec1d4f614a92a6ad1083c099da5
parent838d78a9ff4290e2bca304a5232204f04fc910ec
MDL-41106 cache: several fixes for the session cache.

This issue makes several fixes for the session loader and the session store.
* maxsize argument now works for session caches.
* fixed performance hole when interation occurs frequently.
* fixed cache purge bug occuring when multiple caches are defined before being used.
* improved lastaccess handling.
cache/classes/loaders.php
cache/stores/session/lib.php
cache/stores/session/tests/session_test.php