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 meteor methods #4815

Merged
merged 7 commits into from
Nov 26, 2018

Conversation

aldeed
Copy link
Contributor

@aldeed aldeed commented Nov 21, 2018

Impact: minor
Type: feature

Changes

During a review of all Meteor methods, I identified several that are no longer used in 2.0 or could be easily removed. This PR removes them.

  • shop/getBaseLanguage
  • shop/getCurrencyRates
  • shop/getWorkflow
  • getTemplateByName
  • orders/addOrderEmail
  • taxes/updateTaxCode
  • workflow/coreOrderWorkflow/coreOrderProcessing
  • workflow/coreOrderWorkflow/coreOrderCompleted

Breaking changes

If a custom plugin uses any of these methods, it will need to be updated.

Testing

Checking out and pushing an order through all statuses should be sufficient.

@aldeed aldeed self-assigned this Nov 21, 2018
Copy link
Member

@kieckhafer kieckhafer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 No logs / errors, was able to checkout and go through order flow with logged in, admin, and guest users.

The License Compliance is related to our own reaction-component-library, and is not a blocker for getting this merged.

We are aware of and working on a fix for the failing build_and_test test.

@aldeed aldeed merged commit 6ad1199 into release-2.0.0-rc.7 Nov 26, 2018
@aldeed aldeed deleted the feat-aldeed-remove-unused-meteor-methods branch November 26, 2018 18:39
@spencern spencern mentioned this pull request Jan 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants