diff options
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/functions.php b/include/functions.php index 42b05ff15..ce8a07d51 100644 --- a/include/functions.php +++ b/include/functions.php @@ -731,24 +731,7 @@ if ($_SESSION["uid"]) { startup_gettext(); load_user_plugins($_SESSION["uid"]); - - /* cleanup ccache */ - - $sth = $pdo->prepare("DELETE FROM ttrss_counters_cache WHERE owner_uid = ? - AND - (SELECT COUNT(id) FROM ttrss_feeds WHERE - ttrss_feeds.id = feed_id) = 0"); - - $sth->execute([$_SESSION['uid']]); - - $sth = $pdo->prepare("DELETE FROM ttrss_cat_counters_cache WHERE owner_uid = ? - AND - (SELECT COUNT(id) FROM ttrss_feed_categories WHERE - ttrss_feed_categories.id = feed_id) = 0"); - - $sth->execute([$_SESSION['uid']]); } - } } |