Skip to content

Commit

Permalink
Remove commented-out code
Browse files Browse the repository at this point in the history
  • Loading branch information
waldoj committed Feb 15, 2024
1 parent 1a091a2 commit 2246e54
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions cron/cleanup.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,21 +58,6 @@
# series on every bill's page.
###

# Specify which subcommittee that a bill is in.
/*$sql = 'SELECT id, status
FROM bills_status
WHERE status LIKE "Assigned to%sub%"
AND (translation IS NULL OR translation = "assigned to subcommittee")';
$result = mysqli_query($GLOBALS['db'], $sql);
if (mysqli_num_rows($result) > 0)
{
while ($status = mysqli_fetch_array($result))
{
}
}*/


$sql = $dbh->prepare('UPDATE bills_status
SET translation="introduced"
WHERE status LIKE "Prefiled %" AND translation IS NULL');
Expand Down

0 comments on commit 2246e54

Please sign in to comment.