diff --git a/fever/fever_api.php b/fever/fever_api.php
index 03d6d20..99432d8 100755
--- a/fever/fever_api.php
+++ b/fever/fever_api.php
@@ -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 .= '
';
foreach ($enclosures as $enclosure) {
@@ -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"]);
}
}
}
@@ -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);
}
}