[aur-dev] [PATCH] stats.inc.php: Remove unnecessary account type lookup

2013-01-14 Thread canyonknight
Signed-off-by: canyonknight 
---
 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



[aur-dev] [PATCH] user_table.php: Remove unused link parameter

2013-01-14 Thread canyonknight
Signed-off-by: canyonknight 
---
 web/template/stats/user_table.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/template/stats/user_table.php 
b/web/template/stats/user_table.php
index ba6751f..284d5b9 100644
--- a/web/template/stats/user_table.php
+++ b/web/template/stats/user_table.php
@@ -7,7 +7,7 @@ $username = username_from_sid($_COOKIE["AURSID"]);
 


-   
+   
 


-- 
1.8.1