mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 05:35:55 +00:00
add some more bayes stuff
This commit is contained in:
@@ -680,6 +680,7 @@
|
||||
|
||||
$article = array("owner_uid" => $owner_uid, // read only
|
||||
"guid" => $entry_guid, // read only
|
||||
"guid_hashed" => $entry_guid_hashed, // read only
|
||||
"title" => $entry_title,
|
||||
"content" => $entry_content,
|
||||
"link" => $entry_link,
|
||||
@@ -968,6 +969,10 @@
|
||||
lang = '$entry_language'
|
||||
WHERE id = '$ref_id'");
|
||||
|
||||
// update aux data
|
||||
db_query("UPDATE ttrss_user_entries
|
||||
SET score = '$score' WHERE ref_id = '$ref_id'");
|
||||
|
||||
if ($mark_unread_on_update) {
|
||||
db_query("UPDATE ttrss_user_entries
|
||||
SET last_read = null, unread = true WHERE ref_id = '$ref_id'");
|
||||
|
||||
Reference in New Issue
Block a user