Commits

Anonymous committed 0a9601f

[svn r87] remove useless code. spotted by david`bgk.

  • Participants
  • Parent commits 7c0339b

Comments (0)

Files changed (1)

django_authopenid/views.py

     return '%s://%s' % (protocol, host)
 
 def get_full_url(request):
-    if request.is_secure():
-        protocol = 'https'
-    else:
-        protocol = 'http'
-    host = escape(request.META['HTTP_HOST'])
     return get_url_host(request) + request.get_full_path()
 
 DEFAULT_NEXT = getattr(settings, 'OPENID_REDIRECT_NEXT', '/')