mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-27 17:50:15 +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",
|
"descriptionmsg": "oathauth-desc",
|
||||||
"type": "other",
|
"type": "other",
|
||||||
"requires": {
|
"requires": {
|
||||||
"MediaWiki": ">= 1.42"
|
"MediaWiki": ">= 1.43"
|
||||||
},
|
},
|
||||||
"license-name": "GPL-2.0-or-later AND GPL-3.0-or-later",
|
"license-name": "GPL-2.0-or-later AND GPL-3.0-or-later",
|
||||||
"attributes": {
|
"attributes": {
|
||||||
|
|
|
@ -31,7 +31,6 @@ class UpdateTables implements LoadExtensionSchemaUpdatesHook {
|
||||||
$updater->addExtensionUpdate( [
|
$updater->addExtensionUpdate( [
|
||||||
'runMaintenance',
|
'runMaintenance',
|
||||||
UpdateTOTPScratchTokensToArray::class,
|
UpdateTOTPScratchTokensToArray::class,
|
||||||
"$baseDir/maintenance/updateTOTPScratchTokensToArray.php"
|
|
||||||
] );
|
] );
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -51,7 +50,6 @@ class UpdateTables implements LoadExtensionSchemaUpdatesHook {
|
||||||
$updater->addExtensionUpdate( [
|
$updater->addExtensionUpdate( [
|
||||||
'runMaintenance',
|
'runMaintenance',
|
||||||
UpdateForMultipleDevicesSupport::class,
|
UpdateForMultipleDevicesSupport::class,
|
||||||
"$baseDir/maintenance/UpdateForMultipleDevicesSupport.php"
|
|
||||||
] );
|
] );
|
||||||
$updater->addExtensionUpdateOnVirtualDomain( [ 'virtual-oathauth', 'dropTable', 'oathauth_users' ] );
|
$updater->addExtensionUpdateOnVirtualDomain( [ 'virtual-oathauth', 'dropTable', 'oathauth_users' ] );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue