summaryrefslogtreecommitdiffstats
path: root/pages/admin.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/admin.php')
-rw-r--r--pages/admin.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/pages/admin.php b/pages/admin.php
index afc6418..0f54285 100644
--- a/pages/admin.php
+++ b/pages/admin.php
@@ -10,7 +10,7 @@ include_once('./includes/datas.php');
include_once('./includes/maps.php');
include_once('./includes/mapoftheday.php');
include_once('./includes/sqlEmbedded.php');
-include_once('./includes/championPoints.php');
+include_once('./includes/playerStats.php');
if ($_GET['applyall'] == 'true') {
echo "Apply-All command heard. Executing...";
@@ -27,10 +27,10 @@ if ($_GET['applyall'] == 'true') {
echo "Execution complete!";
}
-else if ($_GET['recalcChamp'] == 'true') {
- echo "Recalculating champion points...";
+else if ($_GET['recalcStats'] == 'true') {
+ echo "Recalculating all player stats...";
- recalculateAllPlayersChampionPoints();
+ recalculateStatsForAllPlayers();
echo "Complete!";
}
@@ -45,7 +45,7 @@ echo '
<p>News:</p>
<p>Buttons:<br />
<input type="button" value="Apply all achievements" onClick="parent.location=\'admin?applyall=true\'">
- <input type="button" value="Recalculate all champion points" onClick="parent.location=\'admin?recalcChamp=true\'">
+ <input type="button" value="Recalculate all player stats" onClick="parent.location=\'admin?recalcStats=true\'">
</p>
<p>Hello admins, this is our current userlist.</p>
</center>