]> git.wh0rd.org - tt-rss.git/blobdiff - classes/api.php
move counter cache to a separate class
[tt-rss.git] / classes / api.php
index 6c7823a8f243bc154750a655089d35c136f2fa2f..31dd3c086a3fba5baed841db8e2cda13af201df7 100644 (file)
@@ -297,7 +297,7 @@ class API 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"]);
                                }
                        }