|
Lines 283-291
if ($zebraqueue_days) {
Link Here
|
| 283 |
WHERE done=1 AND time < date_sub(curdate(), INTERVAL ? DAY) |
283 |
WHERE done=1 AND time < date_sub(curdate(), INTERVAL ? DAY) |
| 284 |
} |
284 |
} |
| 285 |
); |
285 |
); |
| 286 |
if ( $confirm ) { |
286 |
$sth->execute($zebraqueue_days) or die $dbh->errstr; |
| 287 |
$sth->execute($zebraqueue_days) or die $dbh->errstr; |
|
|
| 288 |
} |
| 289 |
$sth2 = $dbh->prepare(q{ DELETE FROM zebraqueue WHERE id=? }); |
287 |
$sth2 = $dbh->prepare(q{ DELETE FROM zebraqueue WHERE id=? }); |
| 290 |
while ( my $record = $sth->fetchrow_hashref ) { |
288 |
while ( my $record = $sth->fetchrow_hashref ) { |
| 291 |
if ( $confirm ) { |
289 |
if ( $confirm ) { |
| 292 |
- |
|
|