Add $options parameter for testUserForCreation()
authorBrad Jorsch <bjorsch@wikimedia.org>
Thu, 16 Jun 2016 21:43:12 +0000 (17:43 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Mon, 20 Jun 2016 15:27:07 +0000 (11:27 -0400)
commitcd763560c85e783f095ca5f740ea6492119e3b8f
tree2f68db87e2f6b8ad932b5b5ae52df2b9d2a32978
parentf61e147bfc651beb2c59c0ceb6def8fbc30b042f
Add $options parameter for testUserForCreation()

This will allow providers to know whether the call is just for testing
(from ApiQueryUsers) or for actual creation, and skip duplicate work
when testForAccountCreation() is going to be called.

Change-Id: Id3ef713fd377135d78f66e5100dedd4689293b59
Depends-On: I4af8b3b692f60c42f8685b90be5936da7ba4e2e2
Depends-On: Ie9639a15d04b387be0e72754301eb6d91cd8adc2
Depends-On: I063cbdfbd9a223bf2391fce2b714ab82ddd3272f
Depends-On: I7c67512634f6e72251911238f083857da9fd3f84
includes/auth/AbstractPreAuthenticationProvider.php
includes/auth/AbstractPrimaryAuthenticationProvider.php
includes/auth/AbstractSecondaryAuthenticationProvider.php
includes/auth/AuthManager.php
includes/auth/CheckBlocksSecondaryAuthenticationProvider.php
includes/auth/LegacyHookPreAuthenticationProvider.php
includes/auth/PreAuthenticationProvider.php
includes/auth/PrimaryAuthenticationProvider.php
includes/auth/SecondaryAuthenticationProvider.php