mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-23 15:56:59 +00:00
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:
parent
dfbd255b80
commit
e30916d5c7
|
@ -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": {
|
||||
|
|
|
@ -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' ] );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue