Thomas Portelange 995d07756d cache currentUser query (#6007)
* cache currentUser query

Various modules can call a lot of time Member::currentUser(). We can avoid querying the database multiple times. Cache is implemented as a static array inside the method and store the data byID, in case the currentUserID changes within the same request (not very likely, but..)
2016-09-15 15:45:40 +01:00
..
2016-02-25 16:10:52 +01:00
2016-05-11 14:06:23 +12:00
2016-09-15 15:45:40 +01:00
2016-05-11 14:06:23 +12:00
2016-08-05 14:36:35 +12:00