Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update fever_api.php to support CCache class #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions fever/fever_api.php
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