Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions fever/fever_api.php
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ function getItems()
{
$line_content = $this->my_sanitize($line["content"], $line["link"]);
if (ADD_ATTACHED_FILES){
$enclosures = get_article_enclosures($line["id"]);
$enclosures = Article::get_article_enclosures($line["id"]);
if (count($enclosures) > 0) {
$line_content .= '<ul type="lower-greek">';
foreach ($enclosures as $enclosure) {
Expand Down Expand Up @@ -713,7 +713,7 @@ function setItem($id, $field_raw, $mode, $before = 0)
WHERE ref_id IN ($article_ids)");

while ($line = $this->dbh->fetch_assoc($result)) {
ccache_update($line["feed_id"], $_SESSION["uid"]);
CCache::update($line["feed_id"], $_SESSION["uid"]);
}
}
}
Expand Down Expand Up @@ -782,7 +782,7 @@ function setFeed($id, $cat, $before=0)
AND owner_uid = '" . db_escape_string($_SESSION["uid"]) . "' AND unread = true AND feed_id = " . intval($id) . " AND date_entered < '" . date("Y-m-d H:i:s", $before) . "' ) as tmp)");

}
ccache_update($id,$_SESSION["uid"], $cat);
CCache::update($id,$_SESSION["uid"], $cat);
}
}

Expand Down