diff --git a/ServiceWiring.php b/ServiceWiring.php index eb5c8f20..244ec5e2 100644 --- a/ServiceWiring.php +++ b/ServiceWiring.php @@ -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(), diff --git a/extension.json b/extension.json index c2edddff..e68a4d67 100644 --- a/extension.json +++ b/extension.json @@ -50,7 +50,7 @@ "PermissionManager", "RevisionStore", "UserFactory", - "LogStore" + "ThanksLogStore" ] } }, diff --git a/includes/Hooks.php b/includes/Hooks.php index fe78e0c1..62585fb2 100644 --- a/includes/Hooks.php +++ b/includes/Hooks.php @@ -410,7 +410,7 @@ class Hooks { "class" => ApiFlowThank::class, "services" => [ "PermissionManager", - "LogStore" + "ThanksLogStore" ] ] ); diff --git a/tests/phpunit/ApiCoreThankUnitTest.php b/tests/phpunit/ApiCoreThankUnitTest.php index 09b58fd0..bb50b3f3 100644 --- a/tests/phpunit/ApiCoreThankUnitTest.php +++ b/tests/phpunit/ApiCoreThankUnitTest.php @@ -22,7 +22,7 @@ class ApiCoreThankUnitTest extends ApiTestCase { $services->getPermissionManager(), $services->getRevisionStore(), $services->getUserFactory(), - $services->getService( 'LogStore' ) + $services->getService( 'ThanksLogStore' ) ); }