From 459673c9c73fcd418e275cc7f1cc732fd08424a5 Mon Sep 17 00:00:00 2001 From: Reedy Date: Fri, 19 Jan 2018 20:13:28 +0000 Subject: [PATCH] Set default when changing afl_namespace on pg Bug: T185335 Change-Id: I91fa0bf316a920b21b541eed1d2a837d34ad5683 --- includes/AbuseFilter.hooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/AbuseFilter.hooks.php b/includes/AbuseFilter.hooks.php index 3175e021f..6b5d5334d 100644 --- a/includes/AbuseFilter.hooks.php +++ b/includes/AbuseFilter.hooks.php @@ -602,7 +602,7 @@ class AbuseFilterHooks { $updater->addExtensionUpdate( [ 'addPgExtIndex', 'abuse_filter_log', 'abuse_filter_log_wiki', "(afl_wiki)" ] ); $updater->addExtensionUpdate( [ - 'changeField', 'abuse_filter_log', 'afl_namespace', "INTEGER" ] ); + 'changeField', 'abuse_filter_log', 'afl_namespace', "INTEGER", '' ] ); } $updater->addExtensionUpdate( [ [ __CLASS__, 'createAbuseFilterUser' ] ] );