Todd McDonald wrote:
I just wanted to get a bit of an idea on how much work it would be to modify the team roster minimum to a variable instead of a hard coded value. I've noticed the query a few places, but was hoping for some feedback from people with better knowledge of the codebase than me.

Shouldn't be too much work.  I'd suggest adding
   $roster_min = variable_get('roster_minimum_size', 12);
and replacing the hardcoded value with $roster_min.

Then, add editing of roster_minimum_size to the "feature settings" or "global settings" pages.

Cheers,
Dave
_______________________________________________
Leaguerunner mailing list
[email protected]
http://www.dmo.ca/cgi-bin/mailman/listinfo/leaguerunner

Reply via email to