remove uuid from headlines JSON output

This commit is contained in:
Andrew Dolgov 2018-12-07 22:14:32 +03:00
parent c31ae870c9
commit 811e1514a3
1 changed files with 2 additions and 3 deletions

View File

@ -271,7 +271,6 @@ class Feeds extends Handler_Protected {
$labels_str .= "</span>";
$line["labels"] = $labels_str;
unset($line["label_cache"]);
if (count($topmost_article_ids) < 3) {
array_push($topmost_article_ids, $id);
@ -369,7 +368,7 @@ class Feeds extends Handler_Protected {
/* we don't need those */
foreach (["date_entered", "guid", "last_published", "last_marked", "tag_cache", "favicon_avg_color"] as $k)
foreach (["date_entered", "guid", "last_published", "last_marked", "tag_cache", "favicon_avg_color", "uuid", "label_cache"] as $k)
unset($line[$k]);
array_push($reply['content'], $line);