From: Rob Church Date: Sat, 4 Feb 2006 17:38:42 +0000 (+0000) Subject: Fix oversight - was using $tbl_text instead of $tbl_txt X-Git-Tag: 1.6.0~379 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=e499d5c236502831eab0b590bc5aa651185b74bb;p=lhc%2Fweb%2Fwiklou.git Fix oversight - was using $tbl_text instead of $tbl_txt --- diff --git a/maintenance/purgeOldText.inc b/maintenance/purgeOldText.inc index 9e6ee7a2ac..0bf6225adf 100644 --- 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 $tbl_text WHERE old_id NOT IN ( $set )" ); + $res = $dbw->query( "SELECT old_id FROM $tbl_txt WHERE old_id NOT IN ( $set )" ); while( $row = $dbw->fetchObject( $res ) ) { $old[] = $row->old_id; }