From: Andrew Dolgov Date: Mon, 19 Jan 2009 10:49:37 +0000 (+0100) Subject: pref-users: disable stored articles in user details X-Git-Tag: 1.3.0~46 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=3485099c8e1239913021003ade159754c2650d28;p=tt-rss.git pref-users: disable stored articles in user details --- 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'");