Voting starts in March for the Drupal Association Board election.
As discussed in, after introduced the language class, and made language negotiation return instances of this class, it makes most sense to do the same for language_list() and language_default() (and any other places where we return language, if we know more :). language_load() just reuses language_list() so this should fix that too.
Sounds like this could be as simple as language_list() initializing a new instance of Language with every record and language_default() doing the same based on the variable values. Currently the Language object is "backwards compatible" with the anonymous data objects we used before (as in we still use at places), so we can just pass the values in the constructor and leave the actual data use as-is for now. More would come later as we work out
|#46||language-class-changelog.txt||630 bytes||Gábor Hojtsy|
PASSED: [[SimpleTest]]: [MySQL] 36,841 pass(es). View
PASSED: [[SimpleTest]]: [MySQL] 36,861 pass(es). View
PASSED: [[SimpleTest]]: [MySQL] 36,848 pass(es). View
FAILED: [[SimpleTest]]: [MySQL] 36,848 pass(es), 0 fail(s), and 451 exception(s). View