summaryrefslogtreecommitdiff
path: root/classes/feeds.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-07 22:14:32 +0300
committerAndrew Dolgov <[email protected]>2018-12-07 22:14:32 +0300
commit811e1514a3ff47864ff2b18ad8be80f4e323b454 (patch)
treefaef0f8d6a0083886067549994c66d6c0026df1f /classes/feeds.php
parentc31ae870c94dfa945f6af779a35b12f1c3e3996e (diff)
remove uuid from headlines JSON output
Diffstat (limited to 'classes/feeds.php')
-rwxr-xr-xclasses/feeds.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/classes/feeds.php b/classes/feeds.php
index 71a7cd037..1c4f5fc14 100755
--- a/classes/feeds.php
+++ b/classes/feeds.php
@@ -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);
@@ -361,7 +360,7 @@ class Feeds extends Handler_Protected {
if ($fav_color && $fav_color != 'fail') {
if (!isset($rgba_cache[$feed_id])) {
- $rgba_cache[$feed_id] = join(",", _color_unpack($fav_color)) . ", 0.3";
+ $rgba_cache[$feed_id] = join(",", _color_unpack($fav_color)) . ",0.3";
}
$line['favicon_avg_color_rgba'] = $rgba_cache[$feed_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);