diff --git a/kallithea/controllers/pullrequests.py b/kallithea/controllers/pullrequests.py --- a/kallithea/controllers/pullrequests.py +++ b/kallithea/controllers/pullrequests.py @@ -295,12 +295,6 @@ class PullrequestsController(BaseRepoCon 'description': repo.description.split('\n', 1)[0], 'selected_ref': selected_ref, 'refs': refs, - 'user': dict(user_id=repo.user.user_id, - username=repo.user.username, - firstname=repo.user.firstname, - lastname=repo.user.lastname, - gravatar_link=h.gravatar_url(repo.user.email, 28), - gravatar_size=14), } @LoginRequired() diff --git a/kallithea/templates/pullrequests/pullrequest.html b/kallithea/templates/pullrequests/pullrequest.html --- a/kallithea/templates/pullrequests/pullrequest.html +++ b/kallithea/templates/pullrequests/pullrequest.html @@ -99,18 +99,6 @@ ${self.repo_context_bar('showpullrequest ## members goes here !
@@ -175,12 +163,6 @@ ${self.repo_context_bar('showpullrequest } $other_ref.val(data.selected_ref); - // reset && add the reviewer based on selected repo - $('#review_members').html(''); - addReviewMember(data.user.user_id, data.user.firstname, - data.user.lastname, data.user.username, - data.user.gravatar_link, data.user_gravatar_size); - // re-populate the select2 thingie $("#other_ref").select2({ dropdownAutoWidth: true