* Backwards compatibility for setting wgSessionsInObjectCache to false or using
wgSessionHandler, both of which were deprecated in 1.27 with the introduction
of SessionManager, has been removed.
+* SessionManager::autoCreateUser, deprecated in 1.27, has been removed. Use
+ MediaWiki\Auth\AuthManager::autoCreateUser instead.
=== Deprecations in 1.33 ===
* The configuration option $wgUseESI has been deprecated, and is expected
* @{
*/
- /**
- * Auto-create the given user, if necessary
- * @private Don't call this yourself. Let Setup.php do it for you at the right time.
- * @deprecated since 1.27, use MediaWiki\Auth\AuthManager::autoCreateUser instead
- * @param User $user User to auto-create
- * @return bool Success
- * @codeCoverageIgnore
- */
- public static function autoCreateUser( User $user ) {
- wfDeprecated( __METHOD__, '1.27' );
- return \MediaWiki\Auth\AuthManager::singleton()->autoCreateUser(
- $user,
- \MediaWiki\Auth\AuthManager::AUTOCREATE_SOURCE_SESSION,
- false
- )->isGood();
- }
-
/**
* Prevent future sessions for the user
*