Update fever_api.php to support CCache class

This commit is contained in:
Matt S
2017-05-08 21:40:29 +01:00
parent c4c8660215
commit 9c75e5a1e2

View File

@@ -713,7 +713,7 @@ class FeverAPI extends Handler {
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 @@ class FeverAPI extends Handler {
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);
}
}