From 7f3f93e16dfa564e1f03444b7e211cda5c58250e Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Wed, 26 Aug 2009 18:18:58 +0000 Subject: [PATCH] (bug 20408) Missing global declarations. --- maintenance/updaters.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/maintenance/updaters.inc b/maintenance/updaters.inc index ab8436106e..3e3f350d31 100644 --- a/maintenance/updaters.inc +++ b/maintenance/updaters.inc @@ -1005,6 +1005,7 @@ function index_has_field($table, $index, $field) { } function do_backlinking_indices_update() { + global $wgDatabase; wfOut( "Checking for backlinking indices...\n" ); if (!index_has_field('pagelinks', 'pl_namespace', 'pl_from') || !index_has_field('templatelinks', 'tl_namespace', 'tl_from') || @@ -1016,6 +1017,7 @@ function do_backlinking_indices_update() { } function do_categorylinks_indices_update() { + global $wgDatabase; wfOut( "Checking for categorylinks indices...\n" ); if (!index_has_field('categorylinks', 'cl_sortkey', 'cl_from')) { -- 2.20.1