diff options
author | Andrew Dolgov <[email protected]> | 2015-06-17 15:15:04 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-06-17 15:15:04 +0300 |
commit | 59e83455f188e48796383bfe4be99deb81cb1caa (patch) | |
tree | 45ebeb039a735770ab249c47a9d719f784dd2b90 /include/rssfuncs.php | |
parent | 853cc128d6e262b4a7a693c6321a406674837d73 (diff) |
add some more bayes stuff
Diffstat (limited to 'include/rssfuncs.php')
-rw-r--r-- | include/rssfuncs.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php index 17233914e..4dbb7c18e 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -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'"); |