Last active
July 2, 2025 14:39
-
-
Save ciencia/7b6ef759f4e66841f4a38a92d00535e6 to your computer and use it in GitHub Desktop.
MediaWiki ext-OATHAuth updater no destructive updates REL1_43
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/Hook/UpdateTables.php b/src/Hook/UpdateTables.php | |
| index 1795d93..5881af8 100644 | |
| --- a/src/Hook/UpdateTables.php | |
| +++ b/src/Hook/UpdateTables.php | |
| @@ -52,7 +52,8 @@ class UpdateTables implements LoadExtensionSchemaUpdatesHook { | |
| 'runMaintenance', | |
| UpdateForMultipleDevicesSupport::class, | |
| ] ); | |
| - $updater->addExtensionUpdateOnVirtualDomain( [ 'virtual-oathauth', 'dropTable', 'oathauth_users' ] ); | |
| + // Skip drop | |
| + //$updater->addExtensionUpdateOnVirtualDomain( [ 'virtual-oathauth', 'dropTable', 'oathauth_users' ] ); | |
| } | |
| // add new updates here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment