Clean up setVisibility() log type logic
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 27 May 2016 20:58:34 +0000 (13:58 -0700)
committerKrinkle <krinklemail@gmail.com>
Fri, 3 Jun 2016 22:08:21 +0000 (22:08 +0000)
commit95ed38a0f379f1869b8690aba4cbc4566204f5b0
tree7b4c24134c874340ef81d41c73d327fae0440d62
parentb862718fc61b11a422c0cc29cc1f086892eb3ba2
Clean up setVisibility() log type logic

The log type used should be based on whether any item
was (un)suppressed, not just the last log entry. Otherwise,
unsuppression could end up in the wrong log if the last
item in the list was not unsuppressed but others were.

Change-Id: I7b6af524cc45a1d83b2b719bfa00138531455e35
includes/revisiondelete/RevDelList.php