[aur-dev] [PATCH] stats.inc.php: Remove unnecessary account type lookup
canyonknight
canyonknight at gmail.com
Mon Jan 14 16:44:12 EST 2013
Signed-off-by: canyonknight <canyonknight at gmail.com>
---
web/lib/stats.inc.php | 3 ---
1 file changed, 3 deletions(-)
diff --git a/web/lib/stats.inc.php b/web/lib/stats.inc.php
index 60973e9..cfae794 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');
}
--
1.8.1
More information about the aur-dev
mailing list