API: Check suppressredirect right in ApiMove
authorBrad Jorsch <bjorsch@wikimedia.org>
Wed, 26 Nov 2014 19:43:58 +0000 (14:43 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Wed, 26 Nov 2014 19:43:58 +0000 (14:43 -0500)
commit56a12f8b57a0e5c6e56019db37be07ef60f6531a
tree32cb51b9e84c85123cfb6606b92b3ef577366d69
parent07e90fadfb12d00d8dc6b0aaa2566c9cde615d5d
API: Check suppressredirect right in ApiMove

Change Ic5026384 accidentally lost the check when changing from
Title::moveTo (which does the check itself) to MovePage::move (which
doesn't).

Bug: T75985
Change-Id: Ia64a233936c639a6748488e4d25816e87658ffe1
includes/api/ApiMove.php