Compare commits
7 commits
4511720b3b
...
4ce8017756
| Author | SHA1 | Date | |
|---|---|---|---|
| 4ce8017756 | |||
| 3680a37aaa | |||
| 9e5f72b7ea | |||
| fc71f975af | |||
| 8db4fa83e0 | |||
| 6032e3984a | |||
| 8259e05504 |
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::SHA1::sha1_hex($body);
|
||||
my $sha1 = Digest::SHA::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