From 3485099c8e1239913021003ade159754c2650d28 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 19 Jan 2009 11:49:37 +0100 Subject: [PATCH] pref-users: disable stored articles in user details --- modules/pref-users.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/pref-users.php b/modules/pref-users.php index 7bd14992..52d8161a 100644 --- a/modules/pref-users.php +++ b/modules/pref-users.php @@ -54,7 +54,7 @@ print "".__('Registered')."$created"; print "".__('Last logged in')."$last_login"; - $result = db_query($link, "SELECT +/* $result = db_query($link, "SELECT SUM(LENGTH(content)) AS db_size FROM ttrss_user_entries,ttrss_entries WHERE owner_uid = '$uid' AND ref_id = id"); @@ -62,7 +62,7 @@ $db_size = round(db_fetch_result($result, 0, "db_size") / 1024); print "".__('Stored articles'). - "$stored_articles (${db_size}K)"; + "$stored_articles (${db_size}K)"; */ $result = db_query($link, "SELECT COUNT(id) as num_feeds FROM ttrss_feeds WHERE owner_uid = '$uid'"); -- 2.39.5