mozilla/olympia — pull request #256 by yohanboniface (2014-09-05 09:03:09+00:00)
Title: Remove files.Platform model (bug 1062958)

Ref: https://bugzilla.mozilla.org/show_bug.cgi?id=1062958

One point to be highlighted: before this change, we had three way of dealing with platforms, the `Platform` model, the `PLATFORM_*` constants, and the row `platform_id` attribute. Now we have only two.

Many methods was having platforms in their signatures, among those some was using the `Platform` model. So I had the choice, when updating those, to switch to constants or ids instead. I've chosen ids, for the lightness, and because *at the end* we need to give an id to the `File.platform` property. But this can be discussed. :)