Always set duration/flags of type block for new api logparam style
authorumherirrender <umherirrender_de.wp@web.de>
Fri, 17 Apr 2015 16:49:50 +0000 (18:49 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Fri, 17 Apr 2015 17:57:18 +0000 (19:57 +0200)
commit9a504d18fb13a6afdc9cc3388a13937d58821bba
tree1e45bc89f287b9ae523ccf3acbde869836b901ee
parent055068d8f00943c7801283399b40ae9c32ccd292
Always set duration/flags of type block for new api logparam style

Old and very old log params may omit a duration or flags. Always adds
these parameters to the output.
Also simplify the infinity check (see also
I5eb68c1fb6029da8289276ecf7c81330575029ef) and check the return of
strtotime.

Bug: T92902
Follow-Up: I6846ce09322eb404c506b5a51780a44ce9279fe2
Change-Id: I9109a27f416b002e5c562a1454d8c373dcf98fb4
includes/api/ApiQueryLogEvents.php
includes/logging/BlockLogFormatter.php