mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-12-02 20:16:41 +00:00
16 lines
357 B
PHP
16 lines
357 B
PHP
|
<?php
|
||
|
|
||
|
namespace MediaWiki\Extension\DiscussionTools;
|
||
|
|
||
|
use MediaWiki\MediaWikiServices;
|
||
|
|
||
|
return [
|
||
|
'DiscussionTools.SubscriptionStore' => static function ( MediaWikiServices $services ) : SubscriptionStore {
|
||
|
return new SubscriptionStore(
|
||
|
$services->getDBLoadBalancerFactory(),
|
||
|
$services->getReadOnlyMode(),
|
||
|
$services->getUserFactory()
|
||
|
);
|
||
|
}
|
||
|
];
|