update user details for new schema

This commit is contained in:
Andrew Dolgov 2005-11-19 09:34:50 +01:00
parent 131f94e4c1
commit 5d15d3eacd
1 changed files with 2 additions and 2 deletions

View File

@ -2043,13 +2043,13 @@
print "<tr><td>Subscribed feeds count</td><td>$num_feeds</td></tr>"; print "<tr><td>Subscribed feeds count</td><td>$num_feeds</td></tr>";
$result = db_query($link, "SELECT /* $result = db_query($link, "SELECT
SUM(LENGTH(content)+LENGTH(title)+LENGTH(link)+LENGTH(guid)) AS db_size SUM(LENGTH(content)+LENGTH(title)+LENGTH(link)+LENGTH(guid)) AS db_size
FROM ttrss_entries WHERE owner_uid = '$uid'"); FROM ttrss_entries WHERE owner_uid = '$uid'");
$db_size = round(db_fetch_result($result, 0, "db_size") / 1024); $db_size = round(db_fetch_result($result, 0, "db_size") / 1024);
print "<tr><td>Approx. DB size</td><td>$db_size KBytes</td></tr>"; print "<tr><td>Approx. DB size</td><td>$db_size KBytes</td></tr>"; */
print "</table>"; print "</table>";