diff --git a/db_patches/patch-drop-wiki_timestamp-index.sql b/db_patches/patch-drop-wiki_timestamp-index.sql deleted file mode 100644 index a6cffe5db..000000000 --- a/db_patches/patch-drop-wiki_timestamp-index.sql +++ /dev/null @@ -1,3 +0,0 @@ --- Drop wiki_timestamp index; it was previously created on MySQL only, it's now named afl_wiki_timestamp for uniformity - -DROP INDEX /*i*/wiki_timestamp ON /*_*/abuse_filter_log; diff --git a/includes/AbuseFilterHooks.php b/includes/AbuseFilterHooks.php index eb9db483d..eb62f2aed 100644 --- a/includes/AbuseFilterHooks.php +++ b/includes/AbuseFilterHooks.php @@ -503,10 +503,6 @@ class AbuseFilterHooks { $updater->addExtensionUpdate( [ 'addField', 'abuse_filter', 'af_group', "$dir/db_patches/patch-af_group.sql", true ] ); - $updater->dropExtensionIndex( - 'abuse_filter_log', 'wiki_timestamp', - "$dir/db_patches/patch-drop-wiki_timestamp-index.sql" - ); $updater->addExtensionIndex( 'abuse_filter_log', 'afl_wiki_timestamp', "$dir/db_patches/patch-global_logging_wiki-index.sql"