(bug 32643) Prevent action=purge&forcelinkupdate crash
authorBrad Jorsch <anomie.wikipedia@gmail.com>
Sat, 2 Jun 2012 13:41:06 +0000 (15:41 +0200)
committerBrad Jorsch <anomie.wikipedia@gmail.com>
Sat, 2 Jun 2012 13:41:06 +0000 (15:41 +0200)
commitc42131dd8ed052cabf78875a374ffc351f1fea38
tree4ec03143568909863e046b5143378741db2a916b
parent8a73db81a7402a27647d779857feeb1688482892
(bug 32643) Prevent action=purge&forcelinkupdate crash

action=purge with forcelinkupdate crashes when the rate limit is
reached, because the module passes an array rather than a string to
setWarning. The appropriate string is in the 'info' key of the array, so
just use that.

Change-Id: Ia0215290197e115e7272f945ab1bc5b81aeec80a
RELEASE-NOTES-1.20
includes/api/ApiPurge.php