summaryrefslogtreecommitdiff
path: root/include/rssfuncs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-06-17 15:15:04 +0300
committerAndrew Dolgov <[email protected]>2015-06-17 15:15:04 +0300
commit59e83455f188e48796383bfe4be99deb81cb1caa (patch)
tree45ebeb039a735770ab249c47a9d719f784dd2b90 /include/rssfuncs.php
parent853cc128d6e262b4a7a693c6321a406674837d73 (diff)
add some more bayes stuff
Diffstat (limited to 'include/rssfuncs.php')
-rw-r--r--include/rssfuncs.php5
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'");