Block: Remove unnecessary lines related to old use of Block::prevents
authorThalia <thalia.e.chan@googlemail.com>
Wed, 20 Feb 2019 10:40:59 +0000 (10:40 +0000)
committerKrinkle <krinklemail@gmail.com>
Thu, 21 Feb 2019 20:16:54 +0000 (20:16 +0000)
commit1f95fe2e7032f1fab0463ba213f8b4a0b235620e
tree64f8947c503a9e085e626d1f767f108b240a4168
parent343f550ee60f498fc9a50e9593ee8f6192891354
Block: Remove unnecessary lines related to old use of Block::prevents

Block::prevents simply returns true for 'edit'. In Block::newLoad,
prevents was called as a setter with 'edit', but there was nothing
to set - this call was removed in I0e1316964192113. This patch
removes some more lines related to that call.

Originally added in r84475 (6dbcdc1be097) for T15611.

Change-Id: I8778229d7adfcdee9e21cf560462ef7e7d1c67b3
includes/Block.php