Drop 'isValid' optional field from EventLog

I laughed when I saw it, but anyhow 'isValid' is deliberately not marked as
'required'; you should only set if if you are performing client-side validation
of data, which you're not.
This commit is contained in:
Ori Livneh 2013-02-18 01:39:27 -08:00
parent ee35a5c1d0
commit d607324ecc

View file

@ -69,7 +69,6 @@ public class EventLog {
fullData.put("schema", schema);
fullData.put("revision", rev);
fullData.put("wiki", "commonswiki");
fullData.put("isValid", true); // Hehe
fullData.put("event", data);
return new URL(CommonsApplication.EVENTLOG_URL + "?" + Utils.urlEncode(fullData.toString()) + ";");
} catch (MalformedURLException e) {