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
(from parent 1:
19258a9
)
Fix overlooked hard-coded table name (reported in bug 4748)
author
Rob Church
<robchurch@users.mediawiki.org>
Sun, 29 Jan 2006 17:37:23 +0000
(17:37 +0000)
committer
Rob Church
<robchurch@users.mediawiki.org>
Sun, 29 Jan 2006 17:37:23 +0000
(17:37 +0000)
maintenance/purgeOldText.inc
patch
|
blob
|
history
diff --git
a/maintenance/purgeOldText.inc
b/maintenance/purgeOldText.inc
index
6a27550
..
9e6ee7a
100644
(file)
--- a/
maintenance/purgeOldText.inc
+++ b/
maintenance/purgeOldText.inc
@@
-37,7
+37,7
@@
function PurgeRedundantText( $delete = false ) {
# Get the IDs of all text records not in these sets
echo( "Searching for inactive text records..." );
$set = implode( ', ', $cur );
- $res = $dbw->query( "SELECT old_id FROM text WHERE old_id NOT IN ( $set )" );
+ $res = $dbw->query( "SELECT old_id FROM
$tbl_
text WHERE old_id NOT IN ( $set )" );
while( $row = $dbw->fetchObject( $res ) ) {
$old[] = $row->old_id;
}