Removed stale remnant of PlayerChannelConnection from comm manager.

This commit is contained in:
Griatch 2014-12-22 16:30:06 +01:00
parent c73e013459
commit 2cc4315941
3 changed files with 7 additions and 121 deletions

View file

@ -258,9 +258,8 @@ def handle_setup(last_step):
for profile in PlayerDB.objects.all():
profile.delete()
elif last_step + num == 3:
from src.comms.models import ChannelDB, PlayerChannelConnection
from src.comms.models import ChannelDB
ChannelDB.objects.all().delete()
PlayerChannelConnection.objects.all().delete()
raise
ServerConfig.objects.conf("last_initial_setup_step", last_step + num + 1)
# We got through the entire list. Set last_step to -1 so we don't