Changed LoginForm::addNewaccountInternal() to return Status.
authorparent5446 <tylerromeo@gmail.com>
Tue, 7 Aug 2012 14:46:31 +0000 (10:46 -0400)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 13 Dec 2012 19:00:53 +0000 (19:00 +0000)
commit69ea44000374f2fc4dcac0799031f62154e12881
tree8928df06d0ac4247bf4a4d0f8af1c9dce82a30c1
parent91f2c1e40e60b4a51e3703f7d45fa3d6934adda3
Changed LoginForm::addNewaccountInternal() to return Status.

Rather than calling mainLoginForm() and returning false,
the addNewaccountInternal() function now returns a Status
on failure. mainLoginForm() is then called in addNewAccount()
and addNewAccountMailPassword() instead. This allows for
processing of the account creation form without submitting
anything to $wgOut.

Change-Id: I402c6bebcfe276233cc1f9e16efbe55a034b2181
includes/AutoLoader.php
includes/Message.php
includes/specials/SpecialUserlogin.php