X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fuser%2FBotPassword.php;h=df5edef2f3d7151fd2e5bb7af825f8ece6f8fec0;hb=e53eb5b48dc5504ae215de213b31fdf2827201a8;hp=6db219deecdabb155b1d75c444c169ec89cf9847;hpb=243a466018d24415de27815cfae995865c45a66a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/user/BotPassword.php b/includes/user/BotPassword.php index 6db219deec..df5edef2f3 100644 --- a/includes/user/BotPassword.php +++ b/includes/user/BotPassword.php @@ -21,7 +21,7 @@ use MediaWiki\Auth\AuthenticationResponse; use MediaWiki\MediaWikiServices; use MediaWiki\Session\BotPasswordSessionProvider; -use Wikimedia\Rdbms\IMaintainableDatabase; +use Wikimedia\Rdbms\IDatabase; /** * Utility class for bot passwords @@ -71,7 +71,7 @@ class BotPassword implements IDBAccessObject { /** * Get a database connection for the bot passwords database * @param int $db Index of the connection to get, e.g. DB_MASTER or DB_REPLICA. - * @return IMaintainableDatabase + * @return IDatabase */ public static function getDB( $db ) { global $wgBotPasswordsCluster, $wgBotPasswordsDatabase;