mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
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:
parent
ee35a5c1d0
commit
d607324ecc
1 changed files with 0 additions and 1 deletions
|
|
@ -69,7 +69,6 @@ public class EventLog {
|
||||||
fullData.put("schema", schema);
|
fullData.put("schema", schema);
|
||||||
fullData.put("revision", rev);
|
fullData.put("revision", rev);
|
||||||
fullData.put("wiki", "commonswiki");
|
fullData.put("wiki", "commonswiki");
|
||||||
fullData.put("isValid", true); // Hehe
|
|
||||||
fullData.put("event", data);
|
fullData.put("event", data);
|
||||||
return new URL(CommonsApplication.EVENTLOG_URL + "?" + Utils.urlEncode(fullData.toString()) + ";");
|
return new URL(CommonsApplication.EVENTLOG_URL + "?" + Utils.urlEncode(fullData.toString()) + ";");
|
||||||
} catch (MalformedURLException e) {
|
} catch (MalformedURLException e) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue