summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-02-27 15:16:00 +0400
committerAndrew Dolgov <[email protected]>2013-02-27 15:16:00 +0400
commit1b87341afae5d3cea8f03761c2b6aa912a09d584 (patch)
treef418c21830a6d5bd93564db6d703b7a4f0a0c7a2
parent45942238bfdb8e7c8f3ee8f6331945b31c5d7039 (diff)
ccache: disable force overriding owner_uid on real feeds (why was this needed?)
-rw-r--r--include/ccache.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/ccache.php b/include/ccache.php
index d036100ce..c53b1a08c 100644
--- a/include/ccache.php
+++ b/include/ccache.php
@@ -60,11 +60,11 @@
if (!$is_cat) {
$table = "ttrss_counters_cache";
- if ($feed_id > 0) {
+ /* if ($feed_id > 0) {
$tmp_result = db_query($link, "SELECT owner_uid FROM ttrss_feeds
WHERE id = '$feed_id'");
$owner_uid = db_fetch_result($tmp_result, 0, "owner_uid");
- }
+ } */
} else {
$table = "ttrss_cat_counters_cache";
}
@@ -96,11 +96,11 @@
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
WHERE id = '$feed_id'");
$owner_uid = db_fetch_result($tmp_result, 0, "owner_uid");
- }
+ } */
$prev_unread = ccache_find($link, $feed_id, $owner_uid, $is_cat, true);