]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
remove some rubbish
authorRudolf Polzer <divverent@xonotic.org>
Mon, 3 Oct 2011 16:54:01 +0000 (18:54 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Mon, 3 Oct 2011 16:54:01 +0000 (18:54 +0200)
qcsrc/server/miscfunctions.qc
qcsrc/server/playerstats.qc
qcsrc/server/playerstats.qh

index 19465d09dd1a156e397abb29ca4fac14d7633ae8..b0b1aa3e0dcb3afd67e17a60c685b59d32cb05da 100644 (file)
@@ -2043,7 +2043,6 @@ float MAX_IPBAN_URIS           = 16;
 float URI_GET_DISCARD          = 0;
 float URI_GET_IPBAN            = 1;
 float URI_GET_IPBAN_END        = 16;
-float URI_GET_PLAYERSTATS_SENT = 17;
 
 void URI_Get_Callback(float id, float status, string data)
 {
@@ -2064,10 +2063,6 @@ void URI_Get_Callback(float id, float status, string data)
         // online ban list
         OnlineBanList_URI_Get_Callback(id, status, data);
     }
-    else if (id == URI_GET_PLAYERSTATS_SENT)
-    {
-        PlayerStats_Sent_URI_Get_Callback(id, status, data);
-    }
     else
     {
         print("Received HTTP request data for an invalid id ", ftos(id), ".\n");
index b55861e91c5735724a714cff1a3f7efad8c649af..a4f48a525ed970611a2f53de04759ea169d0b0b9 100644 (file)
@@ -154,12 +154,6 @@ void PlayerStats_TeamScore(float t, string event_id, float value) // TODO: doesn
        db_put(playerstats_db, key, ftos(val));
 }
 
-void PlayerStats_Sent_URI_Get_Callback(float id, float status, string data)
-{
-       if(playerstats_requested)
-               playerstats_waitforme = TRUE;
-}
-
 /*
        format spec:
 
index f546e560590025c124a4615905e07a2c15252a3e..b99366434b9e214bbeff607a333dc81f1d6271b6 100644 (file)
@@ -44,9 +44,6 @@ void PlayerStats_TeamScore(float t, string event_id, float value);
 // call at game over
 void PlayerStats_Shutdown(); // send stats to the server
 
-// URI GET callback
-void PlayerStats_Sent_URI_Get_Callback(float id, float status, string data);
-
 // call this whenever a player leaves
 void PlayerStats_AddGlobalInfo(entity p);