DeleteLogFormatter: Handle missing ofield/nfield
authorBrad Jorsch <bjorsch@wikimedia.org>
Mon, 3 Jun 2019 13:59:33 +0000 (09:59 -0400)
committerKrinkle <krinklemail@gmail.com>
Wed, 12 Jun 2019 23:33:45 +0000 (23:33 +0000)
commit144ebd06c73cb85998f5d9e03a992f44c4adb234
tree4037837a4b911326bad5f8964da69445b6aed133
parentecdd1d6ff4d11d19bf446c74529cbbcca4aa1657
DeleteLogFormatter: Handle missing ofield/nfield

ofield and nfield may be missing from old log entries. Take that into
account when processing.

Bug: T224815
Change-Id: I06dda3106bab9980f6fa7d515542e94a91c17f64
includes/logging/DeleteLogFormatter.php
tests/phpunit/includes/logging/DeleteLogFormatterTest.php