Skip to content

Commit ea343d6

Browse files
author
github-actions
committed
CI: lint code to MediaWiki standards
Check commit and GitHub actions for more details
1 parent d86387e commit ea343d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

includes/HookHandlers/CreateWiki.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public function onCreateWikiDeletion( DBConnRef $cwdb, string $dbname ): void {
151151
->setHosts( [ 'https://opensearch-mw.wikitide.net' ] )
152152
->build();
153153

154-
if ( $client->indices()->exists( [ 'index' => "{$dbname}_content" ] ) ) {
154+
if ( $client->indices()->exists( [ 'index' => "{$dbname}_content" ] ) ) {
155155
$response = $client->indices()->delete( [
156156
'index' => "{$dbname}_content",
157157
] );
@@ -162,7 +162,7 @@ public function onCreateWikiDeletion( DBConnRef $cwdb, string $dbname ): void {
162162
] );
163163
}
164164

165-
if ( $client->indices()->exists( [ 'index' => "{$dbname}_general" ] ) ) {
165+
if ( $client->indices()->exists( [ 'index' => "{$dbname}_general" ] ) ) {
166166
$response = $client->indices()->delete( [
167167
'index' => "{$dbname}_general",
168168
] );

0 commit comments

Comments
 (0)