mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 22:26:00 +00:00
ccache: disable force overriding owner_uid on real feeds (why was this needed?)
This commit is contained in:
@@ -60,11 +60,11 @@
|
|||||||
|
|
||||||
if (!$is_cat) {
|
if (!$is_cat) {
|
||||||
$table = "ttrss_counters_cache";
|
$table = "ttrss_counters_cache";
|
||||||
if ($feed_id > 0) {
|
/* if ($feed_id > 0) {
|
||||||
$tmp_result = db_query($link, "SELECT owner_uid FROM ttrss_feeds
|
$tmp_result = db_query($link, "SELECT owner_uid FROM ttrss_feeds
|
||||||
WHERE id = '$feed_id'");
|
WHERE id = '$feed_id'");
|
||||||
$owner_uid = db_fetch_result($tmp_result, 0, "owner_uid");
|
$owner_uid = db_fetch_result($tmp_result, 0, "owner_uid");
|
||||||
}
|
} */
|
||||||
} else {
|
} else {
|
||||||
$table = "ttrss_cat_counters_cache";
|
$table = "ttrss_cat_counters_cache";
|
||||||
}
|
}
|
||||||
@@ -96,11 +96,11 @@
|
|||||||
|
|
||||||
if (!is_numeric($feed_id)) return;
|
if (!is_numeric($feed_id)) return;
|
||||||
|
|
||||||
if (!$is_cat && $feed_id > 0) {
|
/* if (!$is_cat && $feed_id > 0) {
|
||||||
$tmp_result = db_query($link, "SELECT owner_uid FROM ttrss_feeds
|
$tmp_result = db_query($link, "SELECT owner_uid FROM ttrss_feeds
|
||||||
WHERE id = '$feed_id'");
|
WHERE id = '$feed_id'");
|
||||||
$owner_uid = db_fetch_result($tmp_result, 0, "owner_uid");
|
$owner_uid = db_fetch_result($tmp_result, 0, "owner_uid");
|
||||||
}
|
} */
|
||||||
|
|
||||||
$prev_unread = ccache_find($link, $feed_id, $owner_uid, $is_cat, true);
|
$prev_unread = ccache_find($link, $feed_id, $owner_uid, $is_cat, true);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user