Add dieBlocked to APIBase and make use of it
authorAndrew H <crazy4sb@gmail.com>
Mon, 21 Dec 2015 22:59:16 +0000 (22:59 +0000)
committerAndrew H <crazy4sb@gmail.com>
Tue, 22 Dec 2015 17:44:36 +0000 (17:44 +0000)
commit90500d15e769ec4f98a74d294bdc79b057c737df
tree62a31d69bbdeb6557756e1faded259203207f9de
parent5fe5201f5e3e3dcc1d932c66d732009599c0a030
Add dieBlocked to APIBase and make use of it

Moves a frequently used snippet of code into APIBase to throw a
usage exception with block info.

Change-Id: I9bd0b2804e9e246f6d53031b04af48f111c0814c
includes/api/ApiBase.php
includes/api/ApiRevisionDelete.php
includes/api/ApiTag.php
includes/api/ApiUndelete.php