diff options
author | Andrew Dolgov <[email protected]> | 2009-01-16 17:20:45 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2009-01-16 17:20:45 +0100 |
commit | b2efea517138bd059649f13ad15bf5da20676930 (patch) | |
tree | c33fa73a7c87e85f6f9cb460ddab6a9dff3332c4 /functions.php | |
parent | a5c815d35822dab932c0303837e82d88bcb0f308 (diff) |
ccache_update: code cleanup
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/functions.php b/functions.php index 78cd39875..8b8dba603 100644 --- a/functions.php +++ b/functions.php @@ -6088,37 +6088,6 @@ } } -# if ($feed_id > 0) { -# -# /* update parent cat if needed OR in cat mode update cat feeds */ -# -# if ($is_cat) { -# $result = db_query($link, "SELECT id AS feed_id FROM ttrss_feeds -# WHERE owner_uid = '$owner_uid' AND cat_id = '$feed_id'"); -# -# while ($line = db_fetch_assoc($result)) { -# ccache_update($link, (int)$line["feed_id"], $owner_uid, false); -# } -# -# } else { -# $result = db_query($link, "SELECT cat_id AS feed_id FROM ttrss_feeds -# WHERE owner_uid = '$owner_uid' AND id = '$feed_id'"); -# -# while ($line = db_fetch_assoc($result)) { -# ccache_update($link, (int)$line["feed_id"], $owner_uid, true); -# } -# } -# -# /* update labels */ -# -# $result = db_query($link, "SELECT feed_id FROM ttrss_counters_cache -# WHERE owner_uid = '$owner_uid' AND feed_id < 0"); -# -# while ($line = db_fetch_assoc($result)) { -# ccache_update($link, $line["feed_id"], $owner_uid); -# } -# } - return $unread; } ?> |