# HG changeset patch # User Marcin Kuzminski # Date 2017-01-30 17:03:04 # Node ID c68619c4eb44e55aea969484c6f21e4272abd15d # Parent e9cdc4d2404affdf7cec6702b1b598c90ef9215f pull-requests: remove template context registration as it's not used anywhere. diff --git a/rhodecode/controllers/pullrequests.py b/rhodecode/controllers/pullrequests.py --- a/rhodecode/controllers/pullrequests.py +++ b/rhodecode/controllers/pullrequests.py @@ -604,10 +604,6 @@ class PullrequestsController(BaseRepoCon merge_checks = request.GET.get('merge_checks') c.fulldiff = str2bool(request.GET.get('fulldiff')) - # register for JS templates - c.template_context['pull_request_data']['pull_request_id'] = \ - pull_request_id - (pull_request_latest, pull_request_at_ver, pull_request_display_obj,