Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused code from Legislation proposals #5140

Merged
merged 2 commits into from
Jun 27, 2023
Merged

Conversation

taitus
Copy link
Member

@taitus taitus commented Jun 27, 2023

References

Related PR: #1906

Objectives

Remove unused code.

Description

In these commits 38ba5e1 and 8805037 we added the parameter "vote_url" in the call to the partial "votes" in collaborative legislation proposals.

It seems that this parameter is only used in the proposals module and not in collaborative legislation proposals.

While it is true that in the partial "votes" in these commits this parameter "vote_url" is referred to, in commit 276baed it seems to be removed.

In these commits 38ba5e1 and 8805037 we added the parameter
"vote_url" in the call to the partial "votes" in collaborative legislation
proposals.

It seems that this parameter is only used in the proposals module and not in
collaborative legislation proposals.

While it is true that in the partial "votes" in these commits this parameter
"vote_url" is referred to, in commit 276baed it seems to be removed.

For this reason, we remove the parameter.
@javierm javierm added this to Reviewing in Consul Democracy Jun 27, 2023
Consul Democracy automation moved this from Reviewing to Testing Jun 27, 2023
@javierm javierm self-assigned this Jun 27, 2023
@taitus taitus merged commit f001f07 into master Jun 27, 2023
13 checks passed
Consul Democracy automation moved this from Testing to Release 2.0.0 Jun 27, 2023
@taitus taitus deleted the legislation-proposals branch June 27, 2023 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants