Skip to content

Commit

Permalink
Fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tvroom committed Jan 16, 2008
1 parent d132f86 commit b9999cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/FireHose/firehose_reject_old.pl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
$task{$me}{code} = sub {
my($virtual_user, $constants, $slashdb, $user, $info, $gSkin) = @_;
my $firehose = getObject("Slash::FireHose");
my $old = $slashdb->sqlSelectColArrayref("id", "firehose", "createtime < DATE_SUB(NOW(),INTERVAL 7 DAY) and category ='' and rejected='no'");
my $old = $slashdb->sqlSelectColArrayref("id", "firehose", "createtime < DATE_SUB(NOW(),INTERVAL 7 DAY) and type !='story' AND category ='' and rejected='no'");
foreach (@$old) {
$firehose->reject($_);
}
Expand Down

0 comments on commit b9999cd

Please sign in to comment.