Closed lekoala closed 11 months ago
no worries, the change for the collect method was an added benefit. and instead of changing the return type, it's possible to store the result somewhere and add a getResults but that can be another PR. I still think it's valuable to allow to have some insights on what's being collected For example in my cron tasks module, I store tasks results in the database. This would allow to know when you hit the limit, if you run this frequently enough, etc.
I've merged your changes and fixed some vars that went missing along the way
@lekoala Can you please resolve the merge conflict?
Fixes https://github.com/silverstripe/silverstripe-session-manager/issues/153