summaryrefslogtreecommitdiff
path: root/Aktywator/Bws.cs
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-07-30 01:44:48 +0200
committeremkael <emkael@tlen.pl>2017-07-30 01:44:48 +0200
commitcfe97d223573c4792e5d42a4443c139fd8c87381 (patch)
treefc40d2ec06d712c4fbf6832ad894ab120a330402 /Aktywator/Bws.cs
parentf14238e95bf1a10789585bf7632c5506daecc630 (diff)
Refactoring MySQL tournament names: generalization
Diffstat (limited to 'Aktywator/Bws.cs')
-rw-r--r--Aktywator/Bws.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Aktywator/Bws.cs b/Aktywator/Bws.cs
index 24e707c..41717b2 100644
--- a/Aktywator/Bws.cs
+++ b/Aktywator/Bws.cs
@@ -344,7 +344,7 @@ namespace Aktywator
else return 0;
}
- public void syncNames(MySQLTournament tournament, bool interactive, string startRounds)
+ public void syncNames(Tournament tournament, bool interactive, string startRounds)
{
int count = 0, countNew = 0, SKOK_STOLOW = 100;
data d;
@@ -394,7 +394,7 @@ namespace Aktywator
query.Append(ew);
query.Append(" UNION ALL SELECT ' '; ");
}
- mydata n = tournament.mysql.select(query.ToString());
+ mydata n = ((MySQLTournament)tournament).mysql.select(query.ToString());
DialogResult dr = DialogResult.None;