summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcanyonknight <canyonknight@gmail.com>2013-01-14 22:44:12 +0100
committerLukas Fleischer <archlinux@cryptocrack.de>2013-01-19 12:21:16 +0100
commit07edcdab17f78ef39c3b975ea3cdbac38de8a800 (patch)
tree0f516f99aec6c987403a8d5f8a18f7de3193c89d
parentd23a8706716415ecd5a51e93c8cb2b0d69056f03 (diff)
downloadaur-07edcdab17f78ef39c3b975ea3cdbac38de8a800.tar.gz
aur-07edcdab17f78ef39c3b975ea3cdbac38de8a800.tar.xz
stats.inc.php: Remove unnecessary account type lookup
Signed-off-by: canyonknight <canyonknight@gmail.com> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
-rw-r--r--web/lib/stats.inc.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/web/lib/stats.inc.php b/web/lib/stats.inc.php
index 60973e90..cfae7947 100644
--- a/web/lib/stats.inc.php
+++ b/web/lib/stats.inc.php
@@ -43,9 +43,6 @@ function user_table($userid, $dbh) {
$flagged_outdated = db_cache_value($q, $dbh,
'user_flagged_outdated:' . $userid);
- # If the user is a TU calculate the number of the packages
- $atype = account_from_sid($_COOKIE["AURSID"]);
-
include('stats/user_table.php');
}