mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/LoginNotify
synced 2024-11-13 17:53:12 +00:00
a0a387d195
Bug: T329774 Change-Id: I65fa3da22f45002e013d3bd5c8b0efda5f8b5edb
25 lines
645 B
PHP
25 lines
645 B
PHP
<?php
|
|
|
|
use LoginNotify\LoginNotify;
|
|
use MediaWiki\Config\ServiceOptions;
|
|
use MediaWiki\Logger\LoggerFactory;
|
|
use MediaWiki\MediaWikiServices;
|
|
|
|
return [
|
|
'LoginNotify.LoginNotify' => static function ( MediaWikiServices $services ): LoginNotify {
|
|
return new LoginNotify(
|
|
new ServiceOptions(
|
|
LoginNotify::CONSTRUCTOR_OPTIONS,
|
|
$services->getMainConfig()
|
|
),
|
|
$services->getMainObjectStash(),
|
|
LoggerFactory::getInstance( 'LoginNotify' ),
|
|
$services->getStatsdDataFactory(),
|
|
$services->getDBLoadBalancerFactory(),
|
|
$services->getJobQueueGroup(),
|
|
$services->getCentralIdLookup(),
|
|
$services->getAuthManager()
|
|
);
|
|
}
|
|
];
|