Index: trunk/phase3/maintenance/purgeOldText.inc |
— | — | @@ -29,7 +29,7 @@ |
30 | 30 | # Get "active" text records from the archive table |
31 | 31 | echo( "Searching for active text records in archive table..." ); |
32 | 32 | $res = $dbw->query( "SELECT DISTINCT ar_text_id FROM $tbl_arc" ); |
33 | | - foreach ( $res as $row ) { { |
| 33 | + foreach ( $res as $row ) { |
34 | 34 | $cur[] = $row->ar_text_id; |
35 | 35 | } |
36 | 36 | echo( "done.\n" ); |
— | — | @@ -39,7 +39,7 @@ |
40 | 40 | $set = implode( ', ', $cur ); |
41 | 41 | $res = $dbw->query( "SELECT old_id FROM $tbl_txt WHERE old_id NOT IN ( $set )" ); |
42 | 42 | $old = array(); |
43 | | - foreach ( $res as $row ) { { |
| 43 | + foreach ( $res as $row ) { |
44 | 44 | $old[] = $row->old_id; |
45 | 45 | } |
46 | 46 | echo( "done.\n" ); |