mark articles with score less than -500 as read on rescore
This commit is contained in:
parent
24605713bb
commit
1618a84955
1 changed files with 4 additions and 0 deletions
|
@ -505,6 +505,10 @@
|
|||
db_query($link, "UPDATE ttrss_user_entries SET score = '$s',
|
||||
marked = true WHERE
|
||||
ref_id IN (" . join(',', $scores[$s]) . ")");
|
||||
} else if ($s < -500) {
|
||||
db_query($link, "UPDATE ttrss_user_entries SET score = '$s',
|
||||
unread = false WHERE
|
||||
ref_id IN (" . join(',', $scores[$s]) . ")");
|
||||
} else {
|
||||
db_query($link, "UPDATE ttrss_user_entries SET score = '$s' WHERE
|
||||
ref_id IN (" . join(',', $scores[$s]) . ")");
|
||||
|
|
Loading…
Reference in a new issue