Tim Starling <tstarling(a)wikimedia.org> wrote:
You could add a static function to User which provides
the field name
array. If it were used in User::loadFromDatabase(), then it would be
immune to bit rot.
Dug into this a little bit, but is it promised that loadFromDatabase will
be called early enough? Such as the case of a non-logged in user getting
a list of contributions for an article?
Greg Sabino Mullane greg(a)endpoint.com
End Point Corporation
PGP Key: 0x14964AC8