dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46e7223
)
(bug 20408) Missing global declarations.
author
Chad Horohoe
<demon@users.mediawiki.org>
Wed, 26 Aug 2009 18:18:58 +0000
(18:18 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Wed, 26 Aug 2009 18:18:58 +0000
(18:18 +0000)
maintenance/updaters.inc
patch
|
blob
|
history
diff --git
a/maintenance/updaters.inc
b/maintenance/updaters.inc
index
ab84361
..
3e3f350
100644
(file)
--- 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'))
{