firstboot: network connections not used, cleanup

No longer showing network connections in firstboot. Removed dead code.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Joseph Nuthalapati 2019-09-13 07:01:02 +05:30 committed by Sunil Mohan Adapa
parent e83f387be1
commit 3e619d6882
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2

View File

@ -21,7 +21,6 @@ from django.utils.translation import ugettext as _
from django.views.generic import TemplateView
from django.views.generic.edit import FormView
from plinth import network
from plinth.modules import first_boot
from .forms import FirstbootWizardSecretForm
@ -62,7 +61,6 @@ class CompleteView(TemplateView):
def get_context_data(self, **kwargs):
"""Add network connections to context list."""
context = super().get_context_data(**kwargs)
context['connections'] = network.get_connection_list()
context['title'] = _('Setup Complete')
context['firstboot_complete'] = True
return context