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 authored and Sunil Mohan Adapa committed 2019-09-17 19:45:18 -07:00
1 parent e83f387be1
commit 3e619d6882
1 file changed
-2
-2
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