Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save ciencia/7b6ef759f4e66841f4a38a92d00535e6 to your computer and use it in GitHub Desktop.

Select an option

Save ciencia/7b6ef759f4e66841f4a38a92d00535e6 to your computer and use it in GitHub Desktop.
MediaWiki ext-OATHAuth updater no destructive updates REL1_43
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