1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 06:55:56 +00:00

sync modified scores via mutation observer

This commit is contained in:
Andrew Dolgov
2018-12-11 10:30:32 +03:00
parent 25ca144bb7
commit f3c04fc5d8
3 changed files with 51 additions and 42 deletions

View File

@@ -342,8 +342,6 @@ class Feeds extends Handler_Protected {
$line['imported'] = T_sprintf("Imported at %s",
make_local_datetime($line["date_entered"], false));
$score = $line["score"];
if ($line["tag_cache"])
$tags = explode(",", $line["tag_cache"]);
else
@@ -372,7 +370,8 @@ class Feeds extends Handler_Protected {
/* we don't need those */
foreach (["date_entered", "guid", "last_published", "last_marked", "tag_cache", "favicon_avg_color", "uuid", "label_cache"] as $k)
foreach (["date_entered", "guid", "last_published", "last_marked", "tag_cache", "favicon_avg_color",
"uuid", "label_cache", "yyiw"] as $k)
unset($line[$k]);
array_push($reply['content'], $line);