mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Thanks
synced 2024-11-23 22:44:42 +00:00
ServiceWiring: Rename LogStore to ThanksLogStore
`LogStore` is too ambiguous, usually services from extension should be prefixed with its name. Change-Id: Ia8a8474ac44ee9990b22ca4650d3ae5311744d19
This commit is contained in:
parent
3cef1d4978
commit
b96b4e1fde
|
@ -14,7 +14,7 @@ return [
|
|||
$services->getDBLoadBalancer()
|
||||
);
|
||||
},
|
||||
'LogStore' => static function ( MediaWikiServices $services ): LogStore {
|
||||
'ThanksLogStore' => static function ( MediaWikiServices $services ): LogStore {
|
||||
return new LogStore(
|
||||
$services->getDBLoadBalancerFactory(),
|
||||
$services->getActorNormalization(),
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
"PermissionManager",
|
||||
"RevisionStore",
|
||||
"UserFactory",
|
||||
"LogStore"
|
||||
"ThanksLogStore"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
|
|
@ -410,7 +410,7 @@ class Hooks {
|
|||
"class" => ApiFlowThank::class,
|
||||
"services" => [
|
||||
"PermissionManager",
|
||||
"LogStore"
|
||||
"ThanksLogStore"
|
||||
]
|
||||
]
|
||||
);
|
||||
|
|
|
@ -22,7 +22,7 @@ class ApiCoreThankUnitTest extends ApiTestCase {
|
|||
$services->getPermissionManager(),
|
||||
$services->getRevisionStore(),
|
||||
$services->getUserFactory(),
|
||||
$services->getService( 'LogStore' )
|
||||
$services->getService( 'ThanksLogStore' )
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue