LoadExtensionSchemaUpdates: Remove unused path from 'runMaintenance' action

MediaWiki has never used this path for running the maintenance
scripts, only the class name provided in the other parameter.
Providing the parameter is no longer needed in MediaWiki 1.43.

Bug: T367918
Change-Id: I13b85b2f14bea802229a624ad0b8b2166845d1d1
This commit is contained in:
Bartosz Dziewoński 2024-06-19 19:48:57 +02:00
parent dfbd255b80
commit e30916d5c7
2 changed files with 1 additions and 3 deletions

View file

@ -11,7 +11,7 @@
"descriptionmsg": "oathauth-desc",
"type": "other",
"requires": {
"MediaWiki": ">= 1.42"
"MediaWiki": ">= 1.43"
},
"license-name": "GPL-2.0-or-later AND GPL-3.0-or-later",
"attributes": {

View file

@ -31,7 +31,6 @@ class UpdateTables implements LoadExtensionSchemaUpdatesHook {
$updater->addExtensionUpdate( [
'runMaintenance',
UpdateTOTPScratchTokensToArray::class,
"$baseDir/maintenance/updateTOTPScratchTokensToArray.php"
] );
break;
@ -51,7 +50,6 @@ class UpdateTables implements LoadExtensionSchemaUpdatesHook {
$updater->addExtensionUpdate( [
'runMaintenance',
UpdateForMultipleDevicesSupport::class,
"$baseDir/maintenance/UpdateForMultipleDevicesSupport.php"
] );
$updater->addExtensionUpdateOnVirtualDomain( [ 'virtual-oathauth', 'dropTable', 'oathauth_users' ] );
}