Fix regression with confirmation e-mails sent via Special:Confirmemail.
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 22 Apr 2008 23:47:27 +0000 (23:47 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 22 Apr 2008 23:47:27 +0000 (23:47 +0000)
commitd25bf51dc095952700e139bbdcdeec0400b2252d
treedb58ce464e996b62ce9d188546350be567d2149d
parent85cf0e0378a11419d72a733cbf9432cc0e0d7b9c
Fix regression with confirmation e-mails sent via Special:Confirmemail.
Recent changes to User object made User::sendConfirmationEmail() *not* save the new confirmation token to the database, which seems rather odd. As a result, you got a mail with a bogus value.

Since the function has side-effects, it pretty clearly needs to be saving its changes. Went ahead and had it do that rather than forcing all callers to fix its internal failing.
includes/User.php