(bug 37963) Fixed loading process for user options.
authorparent5446 <tylerromeo@gmail.com>
Mon, 29 Oct 2012 20:07:49 +0000 (16:07 -0400)
committerAntoine Musso <hashar@free.fr>
Tue, 30 Oct 2012 19:28:39 +0000 (20:28 +0100)
commitedf5632f6a3a163c159df06000b519371b718d20
tree99f55bf1baf5e9f0cc1e167ff97ad09ea55f58d0
parented131b321320c109f08d1c5e9c515a63105d1c5f
(bug 37963) Fixed loading process for user options.

The bug has actually already been fixed, so this
patch just removes extraneous function calls and code in
User::getOption() and User::setOption(). It also adds
unit tests for user options (including a test for the
case provided in the bug report).

Change-Id: Idd8af9cf1a26a4adbde3ca71dde64539ecd0a207
RELEASE-NOTES-1.21
includes/User.php
tests/phpunit/includes/UserTest.php