r55609 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55608‎ | r55609 | r55610 >
Date:18:18, 26 August 2009
Author:demon
Status:ok
Tags:
Comment:
(bug 20408) Missing global declarations.
Modified paths:
  • /trunk/phase3/maintenance/updaters.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/updaters.inc
@@ -1005,6 +1005,7 @@
10061006 }
10071007
10081008 function do_backlinking_indices_update() {
 1009+ global $wgDatabase;
10091010 wfOut( "Checking for backlinking indices...\n" );
10101011 if (!index_has_field('pagelinks', 'pl_namespace', 'pl_from') ||
10111012 !index_has_field('templatelinks', 'tl_namespace', 'tl_from') ||
@@ -1016,6 +1017,7 @@
10171018 }
10181019
10191020 function do_categorylinks_indices_update() {
 1021+ global $wgDatabase;
10201022 wfOut( "Checking for categorylinks indices...\n" );
10211023 if (!index_has_field('categorylinks', 'cl_sortkey', 'cl_from'))
10221024 {

Status & tagging log