ElkArte Community

Title: loadProfileFields
Post by: emanuele on March 22, 2014, 09:03:11 pm
Question: what's the reason behind the decision of create a 600+ lines array just to "filter" it and unset it when used?

Wouldn't be much easier to have the fields of interest into the respective functions instead?
Title: Re: loadProfileFields
Post by: Spuds on March 23, 2014, 03:14:25 pm
/me wonders why it was done that way as well
Title: Re: loadProfileFields
Post by: emanuele on June 13, 2014, 04:02:43 pm
The only possible reason I can think of is  so that it could would be easy to change the page the setting in showed on, but... dunno, doesn't seem the best approach ever.