Compare commits
7 commits
4ce8017756
...
4511720b3b
| Author | SHA1 | Date | |
|---|---|---|---|
| 4511720b3b | |||
| 7ac13a8f49 | |||
| 41f79c4287 | |||
| ea63da2aaa | |||
| eabcb590c4 | |||
| 2082293b05 | |||
| 464f145382 |
2 changed files with 2 additions and 2 deletions
|
|
@ -81,7 +81,7 @@ sub enter_table($$$$)
|
|||
my $article_id = undef;
|
||||
|
||||
my $age = $self->{'config'}->{'check_duplicates_age'} || 7;
|
||||
my $sha1 = Digest::SHA::sha1_hex($body);
|
||||
my $sha1 = Digest::SHA1::sha1_hex($body);
|
||||
my $stmt = $self->{'dbh'}->prepare(
|
||||
"SELECT id\n" .
|
||||
"\nFROM " . $table .
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ sub add_article($$;$)
|
|||
}
|
||||
|
||||
if ($config->{'subjectcheck'} and
|
||||
$db->check_subject($article->header('subject')))
|
||||
$db->check_subject($article->header('subject')))
|
||||
{
|
||||
my $subjectscore = $config->{'subjectscore'};
|
||||
$article->add_headers('X-Subject-Test', $subjectscore);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue