From 8240a2a0d59f8636d41291eb26464db4eab16c92 Mon Sep 17 00:00:00 2001 From: Platonides Date: Mon, 18 Oct 2010 17:42:14 +0000 Subject: [PATCH] Double braces introduced in r74742 giving a fatal: PHP Parse error: syntax error, unexpected $end in ./maintenance/purgeOldText.inc on line 63 --- maintenance/purgeOldText.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maintenance/purgeOldText.inc b/maintenance/purgeOldText.inc index 58b3fa12e8..38d12f2d79 100644 --- a/maintenance/purgeOldText.inc +++ b/maintenance/purgeOldText.inc @@ -29,7 +29,7 @@ function PurgeRedundantText( $delete = false ) { # Get "active" text records from the archive table echo( "Searching for active text records in archive table..." ); $res = $dbw->query( "SELECT DISTINCT ar_text_id FROM $tbl_arc" ); - foreach ( $res as $row ) { { + foreach ( $res as $row ) { $cur[] = $row->ar_text_id; } echo( "done.\n" ); @@ -39,7 +39,7 @@ function PurgeRedundantText( $delete = false ) { $set = implode( ', ', $cur ); $res = $dbw->query( "SELECT old_id FROM $tbl_txt WHERE old_id NOT IN ( $set )" ); $old = array(); - foreach ( $res as $row ) { { + foreach ( $res as $row ) { $old[] = $row->old_id; } echo( "done.\n" ); -- 2.20.1